You can do this from the command line if java is not in your path by finding the full path to your java installation, for example:
C:\java\java.exe -jar C:\jar_you_want_to_run.jar
or if java is in your path:
java.exe -jar jar_you_want_to_run.jar
This will launch the jar produced by netbeans.
Brian gianforcaro
source share