Could not find the main class: Main. Program will exit.
3 replies [Last post]
rudolph
WoM Member
Members
WoM Member: 8890
WoM Coins: 0

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 =)

rudolph
WoM Member
Members
WoM Member: 8890
WoM Coins: 0
resolved

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

Asomnia
WoM Member
Members
WoM Member: 119421
WoM Coins: 0
Wheres the fix thread?

Wheres the fix thread?

Elldar
WoM Member
Members
WoM Member: 146117
WoM Coins: 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