The Haunting "Warning: lib\minecraft.jar not found."
2 replies [Last post]
zero424
WoM Member
Members
WoM Member: 129757
WoM Coins: 3

Okay, so I've followed the instructions EXACTLY to no avail so I've finally decided to start a new support thread. I've also searched the support area and read over 30 topics with similar problems, attempting fixes where I can with no progress. The command prompt error I get is as follows:

"Starting java from "C:\Program Files (x86)\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 (x86)\Java\jre6\bin\java.exe"
Press any key to continue . . ."
I am running Windows 7 64x and have downloaded JAVA6 JRE platform:Windows (not Windows 64 since I heard that doesn't work with the new minecraft.jar) as well as womclient-1.5.9.zip. YES I HAVE minecraft.jar AND IT IS IN THE \lib FOLDER!!!
I have tried multiple combinations of the following:
(note: with any installations I restarted my computer)
-Extracting womclient-1.5.9.zip to Desktop and to C:\Program Files (x86)
-Running run.bat as Administrator (I always do this)
-Installing JAVA6 JRE Windows / and 64
-Installing JAVA6 JDK Windows / and 64 (though I knew it would only make things worse)
-Editing run.bat to:
     -SET JAVA6="C:\Program Files (x86)\Java\jre6\bin\java.exe"
     -SET JAVA6="auto"
-Heck, I even tried placing the minecraft.jar into the Java\lib...
Most of these attempts lead to the exact same error message as posted above, some lead to different errors that were easily reverted by undoing what caused the new error.
Any other tips or help would be appreciated ^^
But PLEASE don't tell me to put minecraft.jar into \lib because that's the FIRST thing I did DDD:

Nicholas Blackthorne
WoM Member
Members
WoM Member: 22757
WoM Coins: 1
Well, you're using the x86

Well, you're using the x86 version of java, which is built for 32 bit processors, and you're running on a 64 bit processor. I think the problem here is clear enough.

zero424
WoM Member
Members
WoM Member: 129757
WoM Coins: 3
Er... I can't make sense of

Er... I can't make sense of what you're trying to say ;\ x86 isn't for Java, it's the designated program files for Windows 7 x64 bit... I think you misunderstood my stated directory' ;x. Also like I stated before, I've tried using Java for all Windows and for specifically x64 bit and neither of them work.

In the troubleshooting for the Minecraft Custom Client Wrapper, it states:
"This needs 32 bit Java 6. You need to download and install it from: http://java.sun.com/javase/downloads
Look for the file labeled: "Java SE runtime Environment (JRE)", click the download button.
Select "Platform: Windows" from the next download page that appears (note: Do not select 64 bit or Itanium versions, these will not run the wrapper)"
I just tried the x64 versions of Java to make sure and they give the same error. I also tried simply going to the Java site and downloading it from there and the same problem reoccurs.
Thanks for the input but what I need is a solution ;\