Could not find the main class: Main. Program will exit.
3 replies [Last post]
rudolph's picture
rudolph
WoM Member
Members
Joined: 12/18/2009
Last seen: 2 years 20 weeks ago
Points: 0
0 votes

Ok well, a couple of days ago i opened the client and it started an update for it and said it would be completely done after i restart my computer. then when i opened the client after i restarted and every time after that, it gave me this:

---------------------------------------------------------------------------------------------------------------------------------------
Autodetecting java
Testing default folder
Checking C:\Program Files\Java\jre6 folder
Found java in C:\Program Files\Java\jre6 folder
Starting java from "C:\Program Files\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\Java\jre6\bin\java.exe"
Press any key to continue . . .
---------------------------------------------------------------------------------------------------------------------------------------
I'm using WinXP, and i'm sure my java and vid drivers are up to date... can anyone help me? thankyou =)


Please login to view downloads!

~rudolph~

rudolph's picture
rudolph
WoM Member
Members
Joined: 12/18/2009
Last seen: 2 years 20 weeks ago
Points: 0
resolved

nevermind, i just read on how to fix it =) so no need to reply

~rudolph~

Asomnia's picture
Asomnia
WoM Member
Members
Joined: 11/12/2010
Last seen: 2 years 22 weeks ago
Points: 0
Wheres the fix thread?

Wheres the fix thread?

Elldar's picture
Elldar
WoM Member
Members
Joined: 12/22/2010
Last seen: 3 years 45 weeks ago
Points: 0
Download minecraft.jar from

Download minecraft.jar from this site https://s3.amazonaws.com/MinecraftDownload/classic/minecraft.jar and replace, it works on my