java executable jar creation

前端 未结 5 1865
情话喂你
情话喂你 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 04:57

    the easiest is to export to jar file using eclipse. otherwise, you will need to use java -jar command.

    to make that double click happen, double clickin on the jar file will automatically the jar. otherwise, u can always create a shortcut (assumin ur on win) to the jar file. and then u can double click that shortcut to open up ur jar file

提交回复
热议问题