Running a jar file

Running a jar file without black screen of batch files or (vb/j)script

A: only for a particular jar file, not all the jar files in your system

1: create a shortcut to your jar file (for example, by right click on jar file and send to desktop)

2: then right click on created shortcut and go to properties

3: in the target field, write/type :

path\to\bin\java.exe -jar path\to\jarfile.jar

B- System-wide, for all jar files: