java - How can I execute a runable .jar file by double clicking on it? -


i have .jar file generated 3 sources:

  1. netbeans
  2. eclipse (using export)
  3. from cmd (jar cvmf manifest.mf output.jar input1.class input2.class ...)

in last process created blank manifest.mf , command. when file got archived in .jar, opened winzip , edited manifest.mf. added main-class:input1.

all 3 sources run fine on cmd through java -jar output.jar. nothing happens on double clicking them .

i have tried this solution well. have set default .jar javaw.exe still not run.

how fix this?


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -