You could alternatively package your app as a runnable Jar. This way there would be no need for command line operations...just double click the jar and it should run (unless the java versions aren't...