How to make Java program installable?

前端 未结 6 1006
感情败类
感情败类 2020-12-23 23:36

How can I make a java program installable?

I have an application saved in my Eclipse workspace.

I can export it as a .jar file.

This is

6条回答
  •  甜味超标
    2020-12-23 23:55

    As of Java 8, jdk is now capable of generating it's own Installables for Windows, OSX, and Linux. However, on Windows it depends on either Inno Setup 5 or later or WiX 3.0 or later.

    https://docs.oracle.com/javase/8/docs/technotes/guides/deploy/self-contained-packaging.html#A1324980

    The easiest way to produce a self-contained application is to modify the deployment task.

提交回复
热议问题