My installation requires a few files to be added to the JRE
bin folders and so it is imperative that the launcher uses this JRE to run the application. Since some systems have multiple JRE installations, using the
java -jar my_app.jar is not guaranteed to be using the latest JRE version that the installer uses.
I've looked at the java launcher docs and cannot find a way to specify this. It seems that the launcher simply invokes
java. Any ideas?
I need something like:
c:\program files\java\jre7\bin\java.exe -jar my_app.jar
Please sign in to leave a comment.