java.lang.NoClassDefFoundError: helloWorld
hi guys and girls, i recently signed up here, so im kind of new, although ive been learning java just over a year now.
Im studying java at college and have had no problems running it, as of lately ive ran into somewhat of a problem and im having a mission solving it.
Im running EditPlus to write my code and im running JKD1.5.0_04 to compile and run my applications, i use the same configuration on my laptop as i do at college.
The problem is that lately ive been getting the following error in my output window:
- Java -
java.lang.NoClassDefFoundError: helloWorld
Exception in thread"main"
Output completed (0 sec consumed) - Normal Termination
and the Java im compiling is:
class helloWorld
{
publicstaticvoid main(String[] args)
{
System.out.println("Hello World!");
}
}
so as you can see its a basic piece of code, the filename is "helloWorld.java" and none of my java files will work, i chose the above for testing, but i have some quite complex programs aswell so im not entirely a newbie, ive been doing program for over 2-3 years now, java is just the newest addition to my programming vocab.
The codes clean and simple, no problems with it, when i compile the code it says no errors found and seems ok, when i try to run the code i get the above error, ive mucked about with my configuration but i just cannot get my head around this, its driving me nuts, what am i doing wrong?
and how do i fix this?
thank you in advance, any help you can give would be appreciated.
Reece.

