java - How can I execute a runable .jar file by double clicking on it? -
i have .jar file generated 3 sources:
- netbeans
- eclipse (using export)
- 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
Post a Comment