S
SharkD
Could someone please help me compile and run this program under
Windows XP?
http://github.com/Atmospherian/Haxer
I was able to compile without any reported errors using this command
line:
"C:\Program Files\Java\jdk1.6.0_16\bin\javac.exe" "src\net\interaxia
\haxer\translator\BaseTranslator.java" "src\net\interaxia\haxer
\translator\Translator.java" "src\net\interaxia\haxer\scanner
\Inspector.java" "src\net\interaxia\haxer\scanner\Scanner.java" "src
\net\interaxia\haxer\api\AllTypes.java" "src\net\interaxia\haxer\api
\ObjectType.java" "src\net\interaxia\haxer\api\Property.java" "src\net
\interaxia\haxer\HaxeFile.java" "src\net\interaxia\haxer\Haxer.java"
Then I tried unsuccessfully to run the program using this command
line:
cd "src\net\interaxia\haxer\"
"C:\Program Files\Java\jdk1.6.0_16\bin\java.exe" Haxer
I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: Haxer
(wrong name: ne
t/interaxia/haxer/Haxer)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass
(SecureClassLoader.java:12
4)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:
260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
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: Haxer. Program will exit.
What did I do wrong?
-Mike
Windows XP?
http://github.com/Atmospherian/Haxer
I was able to compile without any reported errors using this command
line:
"C:\Program Files\Java\jdk1.6.0_16\bin\javac.exe" "src\net\interaxia
\haxer\translator\BaseTranslator.java" "src\net\interaxia\haxer
\translator\Translator.java" "src\net\interaxia\haxer\scanner
\Inspector.java" "src\net\interaxia\haxer\scanner\Scanner.java" "src
\net\interaxia\haxer\api\AllTypes.java" "src\net\interaxia\haxer\api
\ObjectType.java" "src\net\interaxia\haxer\api\Property.java" "src\net
\interaxia\haxer\HaxeFile.java" "src\net\interaxia\haxer\Haxer.java"
Then I tried unsuccessfully to run the program using this command
line:
cd "src\net\interaxia\haxer\"
"C:\Program Files\Java\jdk1.6.0_16\bin\java.exe" Haxer
I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: Haxer
(wrong name: ne
t/interaxia/haxer/Haxer)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass
(SecureClassLoader.java:12
4)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:
260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
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: Haxer. Program will exit.
What did I do wrong?
-Mike