Fredrik Eriksson wrote:
> You need to compile all the source files, either all at once or in the
> correct order (as determined by dependencies).
OK, I got it to compile. But, when I try to execute it I get this error:
J:\ProgsWin\Haxer>cd "src"
J:\ProgsWin\Haxer\src>"C:\Program Files\Java\jdk1.6.0_16\bin\java.exe"
java -cla
sspath . net.interaxia.haxer.Haxer
Exception in thread "main" java.lang.NoClassDefFoundError: java
Caused by: java.lang.ClassNotFoundException: java
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: java. Program will exit.
J:\ProgsWin\Haxer\src>pause
Press any key to continue . . .
Any ideas?
-Mike
Post a reply to this message
|