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
Q&a
Q. = Where should i put these codes ?
A. = Right click on the run file--> Click edit--->delete that code and paste one of the codes above.