How to make Java application standalone?

后端 未结 6 824
长发绾君心
长发绾君心 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:58

    You'd have to bundle jre on disk and create startup scripts. If you are not satisfied with simple batch / shell startup scripts you can use something like JLauncher to create "real" executable.

提交回复
热议问题