need help with client wrapper
4 replies [Last post]
mom528
WoM Member
Members
WoM Member: 23413
WoM Coins: 0

Autodetecting java
Testing default folder
Checking C:\Program Files\Java\jre6 folder
Checking C:\Program Files\Java\jre1.6.0_03 folder
Found java in C:\Program Files\Java\jre1.6.0_03 folder
Starting java from "C:\Program Files\Java\jre1.6.0_03\bin\java.exe"
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
ERROR: Failed to run minecraft
JAVA6="C:\Program Files\Java\jre1.6.0_03\bin\java.exe"
Press any key to continue . . .

ok....what do i do...

Sinister_95
WoM Member
Members
WoM Member: 26625
WoM Coins: 5
Instructions

Please actually read the instructions for the client, and follow them to a 't'.

Your issue is that you do not have the minecraft.jar file downloaded, or you do, and it is not in your lib folder. Go to the instructions for the link to download the file, and again, read, or re-read the instructions, these are above the link to download the actual client.

niels
Staff Member
Community Managers
WoM Member: 1857
WoM Coins: 1714
then they would

then they would see:
---------------------------------------
\lib\minecraft.jar not found
did you downloaded/read instructions?
---------------------------------------
or something

adsy
WoM Member
Members
WoM Member: 33265
WoM Coins: 0
My friend also is getting

My friend also is getting this and he is using the exact copy of my working version, all files are in the correct place, i know this as they already work on my pc. any more ideas?

tried updating java to v6 update 20 as well

adsy
WoM Member
Members
WoM Member: 33265
WoM Coins: 0
FIX!

ok so i fixed it, i went to the jre6 directory and found the java.exe file and used the SET feature in the bat file

here is the line i used, this overrode the auto check feature and fixed it:
SET JAVA6=C:\Program Files (x86)\Java\jre6\bin\java.exe
i placed this line above the existing
set JAVA6="auto"
(you might be able to remove this line entirely)
please note that program files (x86) will only be on newer versions of windows, i think its a 64 bit thing. On windows xp it will most likely be without the x86 bit
i.e.
SET JAVA6=C:\Program Files\Java\jre6\bin\java.exe
Please note that C:\ is the main drive for my installation, some computers use D:\ so make sure you browse to the directory first so that you get the location of java.exe correct.
Conclusion:
The fault originally described is created by and auto search feature designed to automatically find your latest java version. If you have never had java installed before today it should just work. Previous versions of the java directory are left available for some reason and that causes the problem.
enjoy.