Re: Problem with compiling files in a folder




"snehls" <snehls@xxxxxxx> wrote in message
news:1125310617.688590.304120@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> i have a folder with several java files in it, if i compile every file
> with
>
> javac file1.java
>
> and so on, it works fine for every file except one.
> But if i try
>
> javac *.java
>
> , the compiler doesn't generate any class files.
>


Let there be light on your path:

http://ant.apache.org

or

http://maven.apache.org



.



Relevant Pages

  • Re: problem with sourcepath option
    ... I want to compile this file from another directory,say ... required <source files>. ... javac -sourcepath news news/PathTest.java ...
    (comp.lang.java.programmer)
  • Re: Java slow ?
    ... > to compile 50 java files using javac ... Last time I compared javac and Jikes, Jikes failed to correctly compile ...
    (comp.lang.java.programmer)
  • Problem with compiling files in a folder
    ... i have a folder with several java files in it, if i compile every file ... Why doesn't he generate class files for the java files, ...
    (comp.lang.java.help)
  • Re: cants compile with javac
    ... NoClassDefFoundError means that whatever you're looking to compile can't ... which tells it to look for your source file, ... -- move up one folder ... Once you're there, javac YourFile.java ...
    (comp.lang.java.help)
  • Re: applet build
    ... Why not use Ant? ... with the main method and compile this. ... This will work if all java files are in just one folder (like the ...
    (comp.lang.java.programmer)