How to make Java application standalone?

rakete picture rakete · Apr 26, 2010 · Viewed 10.8k times · Source

I have to burn a Java application on a CD. This application have to run on every Windows PC wihtout any installation (also JRE shouldn't be installed) before.

Answer

ZeissS picture ZeissS · Apr 26, 2010

I guess you could copy the JRE from your programs folder onto the CD too. Then, add a batch script to use your "local" JRE to start your app. That should be enough, but I don't know if this works with all versions of windows.