Possible Duplicate:
Running Command Line in Java
Is there a way to run this command line within a Java application?
cd "C:\Program Files\myfolder\"&&"C:\Program Files\Java\jre6\bin\java.exe" -jar myjar.jar
I can run it with command but i couldnt do it within Java.