java executable jar creation

前端 未结 5 1870
情话喂你
情话喂你 2021-01-15 04:54

How to Create Executable jar file from .java file. Having only one java file dm.java which created using awt and applet. I need to create executable jar with icon or with im

5条回答
  •  南笙
    南笙 (楼主)
    2021-01-15 05:03

    Using Eclipse, right click on project ->'Export'->'Java'->'Runnable Jar File', fill in all fields and press 'Finish'. Most jars exported with this method can be double clicked to run, however some require starting from command line.

提交回复
热议问题