8 Replies Latest reply: Jan 6, 2011 12:05 AM by 828296 RSS

    Make .jar file execute on double click

      Hello all,

      I've created a .jar file and it executes normally when I type java -jar BasicCalculator.jar in the command window. When I double click the .jar file, though, nothing happens. The computer recognizes that the file is an Executable Jar File, and other .jar files that I've downloaded from online work fine when double clicked.

      Thanks in advance, help would be greatly appreciated.


      This is what appears when I double click the BasicCalculator.jar file. The window pops up for a split second, and I managed to get this screenshot after a few tries.