ERROR: Failed to run minecraft
2 replies [Last post]
1h1tu
WoM Member
Members
WoM Member: 72471
WoM Coins: 0

Using Windows XP , downloaded everything accordingly, placed minecraft.jar in Lib
Just need some help with this.

Autodetecting java
Testing default folder
Checking C:\Program Files\Java\jre6 folder
Found java in C:\Program Files\Java\jre6 folder
Checking C:\Program Files\Java\jdk1.6.0_21 folder
Found java in C:\Program Files\Java\jdk1.6.0_21 folder
Starting java from "C:\Program Files\Java\jdk1.6.0_21\bin\java.exe"
Exception in thread "main" java.lang.NoClassDefFoundError: com/mojang/minecraft/
MinecraftApplet
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
1)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Caused by: java.lang.ClassNotFoundException: com.mojang.minecraft.MinecraftApple
t
        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:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 12 more
Could not find the main class: Main.  Program will exit.
ERROR: Failed to run minecraft
JAVA6="C:\Program Files\Java\jdk1.6.0_21\bin\java.exe"
Press any key to continue . . .

AutomatedChip
WoM Member
Members
WoM Member: 56484
WoM Coins: 0
Alpha?

Are you using the alpha .jar?  or are you using the jar that the readme told you to download?

If you are using the alpha jar, Go download the proper jar.  If not, Then please consider the following.

Disable any strict anti virus.  example, Eset nod32, etc.
Turn off "real-time protection".  The name will differ from AV to AV.. so im not quite sure what Anti virus you are using.

If that doesn't work, add an exception to your computer's firewall.
AND to your anti-virus's firewall.

And Oh, forgot to mention this earlier, Make sure you have the Latest JDK's.  (java)

-Hope this helps!

recon_
WoM Member
Members
WoM Member: 71421
WoM Coins: 19
"Are you using the alpha

"Are you using the alpha .jar?  or are you using the jar that the readme told you to download?"

Funny guy :) You tried the Link in Readme/Notes?