Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make Java application standalone?

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.

like image 443
rakete Avatar asked Apr 26 '10 10:04

rakete


1 Answers

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.

like image 98
ZeissS Avatar answered Oct 31 '22 12:10

ZeissS