Possible Duplicate:
Execute another jar in a java program
I am making a program that run from a java document, and runs a Java document. I am using windows and
Process pr = Runtime.getRuntime().exec(
"cmd /c start cmd.exe /c \"cd %appdata%\\.gknl && java -jar launcher.jar\""
);
works for me fine, but on linux,Mac etc it wont work,
Can someone help me to fix the other OS systems?
Note: i already have a check for the OS...