Java issues
3 replies [Last post]
Leimone
WoM Member
Members
WoM Member: 66220
WoM Coins: 0

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 . . .

TheName
WoM Member
Members
WoM Member: 48782
WoM Coins: -2
I need to see something

I could help you if I saw a screenshot the lib folder located in the folder that the client is installed in. 

It seems that you didn't download/properly install the minecraft.jar file.

King of Treno
WoM Member
Members
WoM Member: 68739
WoM Coins: 0
same error message

I am getting this exact same error. 

I made a new folder and downloaded the minecraft.jar and put it in the lib folder.
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 . . .

King of Treno
WoM Member
Members
WoM Member: 68739
WoM Coins: 0
same error message

double post