How to create a Java application which can be run by a click?

前端 未结 8 573
被撕碎了的回忆
被撕碎了的回忆 2020-12-01 15:20

I would like to have a Java application which can be easily started.

So far I have managed to create a jar file but I do not see any advantages yet. Before I run my

8条回答
  •  臣服心动
    2020-12-01 15:45

    You can create an executable jar file, as described here:

    http://csdl.ics.hawaii.edu/~johnson/613f99/modules/04/jar-files.html

    Then users can click on it in the file browser and have the main class start, provided the OS and the user's security settings allow it.

提交回复
热议问题