Silicate Wielder
April 20th, 2012, 04:33 PM
Ok, So I managed to get some progress with the whole java runtime and now have SunJava instead of IcedTea OpenJDK. But when trying to start the MinecraftSP.jar using terminal It errors out and says
Exception in thread "main" java.lang.NoClassDefFoundError: net/minecraft/LauncherFrame
Caused by: java.lang.ClassNotFoundException: net.minecraft.LauncherFrame
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: net.minecraft.LauncherFrame. Program will exit.
Could someone help me with this? I'm trying to make a launcher for the game aswell since the Ubuntu install batch just crashes as soon as it opens in Terminal.
the command I used was:
java -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame
Exception in thread "main" java.lang.NoClassDefFoundError: net/minecraft/LauncherFrame
Caused by: java.lang.ClassNotFoundException: net.minecraft.LauncherFrame
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: net.minecraft.LauncherFrame. Program will exit.
Could someone help me with this? I'm trying to make a launcher for the game aswell since the Ubuntu install batch just crashes as soon as it opens in Terminal.
the command I used was:
java -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame