Hi!
I have this problem with my World of Minecraft client. I run Win7 32bit Version, Java 6.
I have the Minecraft.jar in lib folder, I have downloaded many versions of it and files ARE placed as they should be by instructions. JAVA do work since I use it to other software without problems. Read many posts about this bu nothing seem to work :( Ideas anyone?
This error comes when the run.bat file is run without admin rights and
after it ask me to press a key and if i press one it shuts down...
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"
This error comes when I test run the run.bat with admin rights. With same result, the clien shuts down.
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: Main
Caused by: java.lang.ClassNotFoundException: Main
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)
Could not find the main class: Main. Program will exit.
========================================
Warning: lib\minecraft.jar not found.
Did you read instructions / download it?
========================================
ERROR: Failed to run minecraft
JAVA6="C:\Program Files\Java\jre6\bin\java.exe"
where did you gete the minecraft.jar
Hi!
Oh my, I have downloaded it 20 times from Minecraft download page, never thought the url in the description was some other version, worked right away when I used that link. Thanks for this!
Sorry for you World of Minecraft creators, I should tried the link before. My bad :)
Problem solved.
If anyone get same error as me USE THE LINK IN THE INFO for the mincraft.jar file ;)
The link is only for the classic version. Is there a way to get the alpha version to work?
Autodetecting java
Testing default folder
Checking C:\Program Files\Java\jre6 folder
Found java in C:\Program Files\Java\jre6 folder
Checking C:\Program Files\Java\jdk1.6.0_14 folder
Found java in C:\Program Files\Java\jdk1.6.0_14 folder
Starting java from "C:\Program Files\Java\jdk1.6.0_14\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.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Caused by: java.lang.ClassNotFoundException: com.mojang.minecraft.MinecraftApple
t
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 12 more
Could not find the main class: Main. Program will exit.
ERROR: Failed to run minecraft
JAVA6="C:\Program Files\Java\jdk1.6.0_14\bin\java.exe"
Press any key to continue . . .
This might not fix the problem but,
You are running an old version of Java, you need to either update it or if it is updated, change the auto detection of java off and set the updated path in the run.bat text edit.
Go to the Run.Bat Fileamd right click it. Then left click on edit.
This comes up at the very top of the text file:
@echo off
rem If you have a custom path to java, change auto below to
rem point to your java.exe file
rem eg: set JAVA6="C:\MyPath\bin\java.exe"
The next line starting as: "set JAVA6=" Needs to be edited to the correct path
Hi
I am not able to open the link given in the notes. (minecraft.jar)
can someone help?
is there any way to get the alpha to work with the client? Iv'e been trying to get this to work for weeks!
have you guys checked your firewalls yet?
I put in the correct minecraft.jar file, and i still get the same error that MarsMan75 and Equals were getting. I've tried changing the directory to java to C:\program files\java\jre6\bin\java.exe and even C:\program files\java\jre1.6.0_20\bin\java.exe and nothing works. I don't know what to do please help.
it seems i have the same problem. actually, i cant open ANY .jar file. just like the java is broken or something, i don't know. I have the new java and all that, but nothing seems to be working. "could not find the main class: main" <- that pops up always.
is there any way that we could edit the "run.bat" so it would work?
WoM Coins: 0