Re: Problem with compiling files in a folder



snehls wrote:

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.

Why not fix the one file that wont compile? Or remove it.

Tom Hawitn
--
Unemployed English Java programmer
http://jroller.com/page/tackline/
.



Relevant Pages

  • Re: VM02 SourceForge project
    ... Is it possible to move some of the VM or class files into aux ... know that the java compiler converts a lot of this for you, ... Are there any java.* classes, or is this binary support for raw ... Any introspection or dynamic binary class loading support? ...
    (comp.sys.apple2.programmer)
  • Re: Bad class file
    ... >> java files in the same directory as the class files? ... >> java files in the top directory and let the compiler create the ... > The .java file has to be within the correct directory structure, ...
    (comp.lang.java.help)
  • Re: why get a warning while using the Vectors addElement()?
    ... (Legend has it) ... If you compile 1.1 compatible source using 1.4 with a target of 1.1, it will produce 1.1 compatible class files - but it might actually insert 1.4 methods in the compilation of a '1.1 compatible' class. ... Why would anyone try to stuff all the information about all the APIs in every version of Java into the compiler? ...
    (comp.lang.java.programmer)
  • Re: Read binary data file
    ... interpretive pseudo-code (e.g. .class files), ... the compiler version ... The only time writing a struct from memory to a file or a network can sanely be justified is when the target application is constructed with the same version of the same object file that wrote it. ...
    (comp.lang.java.programmer)
  • Re: hidden classes
    ... private member class having a private constructor. ... and one inner level member class for a total of 2 classes. ... > I erase the .class files, recompile, and the mystery class is again ... > What could be causing the compiler to create extra files? ...
    (comp.lang.java.programmer)