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!

NoClassDefFoundError

843810Mar 19 2003 — edited Mar 22 2003
Hi all,

Sorry to bother you with something as trivial as this but I have been working on this for 2 hours and it just WON'T WORK !!

Here goes :

I created (for test reasons as it wasn't working with my proper application) a HelloWorld.java file situated in the root of my filesystem (i.e. c:\HelloWorld.java).

I then use the following script :
<-- This works fine -->
javac HelloWorld.java
<-- This throws a NoClassDefFoundError -->
java HelloWorld

Any ideas on what I am doing wrong here ? I don't usually compile on the command line.

Thanks a bunch,

BadLands
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 19 2003
Added on Mar 19 2003
5 comments
71 views