PDA

View Full Version : [Tutorial] How To Fix The 64-Bit Client Crashes [Tutorial]



Romanage Dan
November 21st, 2010, 06:09
So this "fixes" the client crash
after you clicked 2 times in your client?

But this isn't a real fix it's more like a walk around.
Well I also had the problem once though ,and i'm here to explain why.

Most run applications in clients look like this:


Quote:
@echo off
Start java -Xmx500m -cp .;Theme.jar Gui
exit


This code "only" works on 32Bit machines. (on some 64Bitmachines should it work)
Why? because this piece of code follows this path: programfiles/java/jre6......
Now We are on a OS that haves a Program Files (x86).
So this code should work.



@echo off
cls
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xmx500m -cp .;Theme.jar Gui
exit
pause


If it still doesnt work here some envoirement variables you might want to add.
CLASSPATH

C:\Program Files (x86)\Java\jdk1.6.0_22\bin
CLASSPATH

CLASSPATH=C:\Program Files (x86)\Java\jdk1.6.0_22\bin;%CLASSPATH%;

If you set your variables you will only need to have in your client run batchfile :

java -Xmx500m -cp .;Theme.jar Gui


If you still have problems with your client please contact me and i will update this topic.

knv
November 21st, 2010, 06:58
Where do we put the code specificly?

Acrylix
November 21st, 2010, 08:09
/facepalm just simply facepalm

:troll:

The Wanderer
November 21st, 2010, 09:03
When I did that for a friend it said "cannot find the command -Xmx500m"

ignorance82
January 7th, 2012, 19:02
i have it all up and running but major lag and 2 steps a time