and it compiled
Now I am trying to run it
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld (wrong name: com/mypackage/HelloWorld)
at java.lang.ClassLoader.defineClass1(Native Method)
If I delete the line
I am able to compile and run this.
Campbell Ritchie wrote:Beware of using IDEs as a beginner; you can spend longer learning about the IDE than about Java.
Alex George wrote:Doesn't seem to be working.
Exception in thread "main" java.lang.NoClassDefFoundError: com/myPackage/HelloWorld
Alex George wrote:my HelloWorld.java file is in
my compiled file is in
my classpath is