Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javac doesn't produce class files anymore and gives no error messages

843810Apr 7 2007 — edited Apr 29 2007
Hi,

the java compiler javac of jdk1.6.0 suddenly stopped producing class files for all my .java files. I had compiled my main .java file, received 10 errors and fixed one of them. Then I compiled again and javac didn't give any error messages anymore and didn't produce class files for every .java file part of the "project". When launching the java file I get an exception NoClassDefFoundError. There are still errors I didn't fix in the .javas as I can see from the output when javac found 10 errors. So there are errors but javac doesn't spit them out and silently produces no class file for every .java. It produces one for the main .java though. This occured suddenly.
What can be the cause and how to fix it? Thanks for any help!

Lars
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 27 2007
Added on Apr 7 2007
4 comments
1,153 views