Exception in thread "main" PLEASE help :)
21 replies [Last post]
orangemustang's picture
orangemustang
WoM Member
Members
Joined: 10/08/2010
Last seen: 3 years 27 weeks ago
Points: 0
0 votes

Ok so I downloaded WoM and put the Minecraft.jar in the lib folder and then when I run the batch file it gives me this:
Autodetecting java
Testing x86 folder
Checking C:\Program Files (x86)\Java\jre6 folder
Found java in C:\Program Files (x86)\Java\jre6 folder
Starting java from "C:\Program Files (x86)\Java\jre6\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(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.mojang.minecraft.MinecraftApple
t
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more
Could not find the main class: Main.  Program will exit.
ERROR: Failed to run minecraft
JAVA6="C:\Program Files (x86)\Java\jre6\bin\java.exe"

If anyone knows what is happening I would LOVE some help. I would be eternally grateful :) ~orangemustang


Please login to view downloads!
stormravenx's picture
stormravenx
WoM Member
Members
Joined: 10/13/2010
Last seen: 3 years 27 weeks ago
Points: 0
same

I have the same error, I have checked the minecraft.jar file, i made it all lowercase, I updated my java, i re downloaded the .jar file, I placed it in the right folder, Is this due to minecraft being updated since this WoM client or something? No longer compatible?

im1337's picture
im1337
WoM Member
Members
Joined: 10/14/2010
Last seen: 3 years 27 weeks ago
Points: 0
Starting java from

Starting java from "C:\Program Files\Java\jdk1.6.0_20\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

got the same here

Keepoladon's picture
Keepoladon
WoM Member
Members
Joined: 09/19/2010
Last seen: 3 years 27 weeks ago
Points: 0
SAME

I'm getting the same error. It seems this error is pretty popular. Its a wonder no body has found a solution yet. Is there another client wrapper with similar features? I'm about fed up with googling and searching for help.

joker13o1's picture
joker13o1
WoM Member
Members
Joined: 08/26/2010
Last seen: 3 years 14 weeks ago
Points: 0
Very unpleasant.

I am getting the same error when I try to start of the WoM client. Assistance or at least an explanation will be much appreciated.

joker13o1's picture
joker13o1
WoM Member
Members
Joined: 08/26/2010
Last seen: 3 years 14 weeks ago
Points: 0
Very unpleasant.

I am getting the same error when I try to start of the WoM client. Assistance or at least an explanation will be much appreciated.

joker13o1's picture
joker13o1
WoM Member
Members
Joined: 08/26/2010
Last seen: 3 years 14 weeks ago
Points: 0
Very unpleasant.

I am getting the same error when I try to start of the WoM client. Assistance or at least an explanation will be much appreciated.

joker13o1's picture
joker13o1
WoM Member
Members
Joined: 08/26/2010
Last seen: 3 years 14 weeks ago
Points: 0
Very unpleasant.

I am getting the same error when I try to start of the WoM client. Assistance or at least an explanation will be much appreciated.

joker13o1's picture
joker13o1
WoM Member
Members
Joined: 08/26/2010
Last seen: 3 years 14 weeks ago
Points: 0
Very unpleasant.

I am getting the same error when I try to start of the WoM client. Assistance or at least an explanation will be much appreciated.

joker13o1's picture
joker13o1
WoM Member
Members
Joined: 08/26/2010
Last seen: 3 years 14 weeks ago
Points: 0
Very unpleasant.

I am getting the same error when I try to start of the WoM client. Assistance or at least an explanation will be much appreciated.

joker13o1's picture
joker13o1
WoM Member
Members
Joined: 08/26/2010
Last seen: 3 years 14 weeks ago
Points: 0
Very unpleasant.

I am getting the same error when I try to start of the WoM client. Assistance or at least an explanation will be much appreciated.

joker13o1's picture
joker13o1
WoM Member
Members
Joined: 08/26/2010
Last seen: 3 years 14 weeks ago
Points: 0
Very unpleasant.

I am getting the same error when I try to start of the WoM client. Assistance or at least an explanation will be much appreciated.

joker13o1's picture
joker13o1
WoM Member
Members
Joined: 08/26/2010
Last seen: 3 years 14 weeks ago
Points: 0
Very unpleasant.

I am getting the same error when I try to start of the WoM client. Assistance or at least an explanation will be much appreciated.

joker13o1's picture
joker13o1
WoM Member
Members
Joined: 08/26/2010
Last seen: 3 years 14 weeks ago
Points: 0
Very unpleasant.

I am getting the same error when I try to start of the WoM client. Assistance or at least an explanation will be much appreciated.

joker13o1's picture
joker13o1
WoM Member
Members
Joined: 08/26/2010
Last seen: 3 years 14 weeks ago
Points: 0
Very unpleasant.

I am getting the same error when I try to start of the WoM client. Assistance or at least an explanation will be much appreciated.

joker13o1's picture
joker13o1
WoM Member
Members
Joined: 08/26/2010
Last seen: 3 years 14 weeks ago
Points: 0
Very unpleasant.

I am getting the same error when I try to start of the WoM client. Assistance or at least an explanation will be much appreciated.

joker13o1's picture
joker13o1
WoM Member
Members
Joined: 08/26/2010
Last seen: 3 years 14 weeks ago
Points: 0
Very unpleasant.

I am getting the same error when I try to start of the WoM client. Assistance or at least an explanation will be much appreciated.

joker13o1's picture
joker13o1
WoM Member
Members
Joined: 08/26/2010
Last seen: 3 years 14 weeks ago
Points: 0
Very unpleasant.

I am getting the same error when I try to start of the WoM client. Assistance or at least an explanation will be much appreciated.

joker13o1's picture
joker13o1
WoM Member
Members
Joined: 08/26/2010
Last seen: 3 years 14 weeks ago
Points: 0
Very unpleasant.

I am getting the same error when I try to start of the WoM client. Assistance or at least an explanation will be much appreciated.

nate22297's picture
nate22297
WoM Member
Members
Joined: 10/30/2010
Last seen: 3 years 18 weeks ago
Points: 0
I have the fix

The fix to this error is simple. Just redownload minecraft.jar from the Client Download Page, and replace the old one in your "lib" client folder. This should fix it :)

Grats on Minethor and Athronos for their Mirrors Edge build.

Jardaza's picture
Jardaza
WoM Member
Members
Joined: 02/28/2010
Last seen: 3 years 11 weeks ago
Points: 0
Still doesn't work

I downloaded it placed it in the lib folder but when I launch the game,

First time(after placing minecraft.jar): Update

Second time : The error

I tried it three times, still does that...

danieldaniel's picture
danieldaniel
WoM Member
Contributor +
Joined: 07/29/2010
Last seen: 9 weeks 3 days ago
Points: 95
Um... Same here!

I usually can fix this kind of stuff xD!  Its not working anymore! D:

License!

Banner Advertisement Website by DanielDaniel is licensed under a Creative Commons Attribution-NoDerivs 3.0 Unported License.
Permissions beyond the scope of this license may be av