Problem running client
3 replies [Last post]
YeahMKD
WoM Member
Members
WoM Member: 61145
WoM Coins: 0

I am getting this error.

 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"
Press any key to continue . . .

Im fairly certain it is because i am running a 64 bit version of Windows 7 Ultimate. Am i correct? if not is there any way to fix it?

Feraloxide
WoM Member
Members
WoM Member: 62088
WoM Coins: 0
Same problem

Except I'm running Windows XP. It's the same error for me.

Fisheatsbear
WoM Member
Contributor
WoM Member: 21585
WoM Coins: 21
Did you put the minecraft.jar

Did you put the minecraft.jar in the lib folder of the client?

Feraloxide
WoM Member
Members
WoM Member: 62088
WoM Coins: 0
Yes.

I put the minecraft.jar into the lib folder.
Edit: Maybe this will help the issue, when I try just running the minecraft.jar within the World of Minecraft lib folder, it gives me this error 
"Failed to load Main-Class manifest attribute from C:\Documents and Settings\HP_Administrator\Desktop\World of Minecraft\lib\minecraft.jar"