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
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