How to make Java application standalone?

后端 未结 6 843
长发绾君心
长发绾君心 2021-02-06 11:26

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.

6条回答
  •  心在旅途
    2021-02-06 11:55

    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.

提交回复
热议问题