Credits: 100% Pro Banana as he is too scared of Moderators to post it in tutorials section.
Hi,do you also have that annoying crash ?
after you clicked 2 times in your client?
Well I also had the problem once though ,and i'm here to explain why.
Most run applications look like this:
This code "only" works on 32 machines. (on some 64machines 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.
If it still doesnt work here some envoirement variables you might want to add.
CLASSPATH
CLASSPATH
If you set your variables you will only need to have:
Hi,do you also have that annoying crash ?
after you clicked 2 times in your client?
Well I also had the problem once though ,and i'm here to explain why.
Most run applications look like this:
Code: [Select]
Quote:
@echo off
Start java -Xmx500m -cp .;Theme.jar Gui
exitThis code "only" works on 32 machines. (on some 64machines 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.
Code: [Select]
@echo off
cls
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xmx500m -cp .;Theme.jar Gui
exit
pauseIf it still doesnt work here some envoirement variables you might want to add.
CLASSPATH
Code: [Select]
C:\Program Files (x86)\Java\jdk1.6.0_13\binCLASSPATH
Code: [Select]
CLASSPATH=C:\Program Files (x86)\Java\jdk1.6.0_13\bin;%CLASSPATH%;If you set your variables you will only need to have:
Code: [Select]
java -Xmx500m -cp .;Theme.jar Gui
















comments (0)
Post a Comment