One of the most useful associations to set up is to make *.jar files executable with java.exe (see below for details how). Then you can just type the name of the jar on the command line to start it executing. After you have built the Main-Class entry and set up an association of the *.jar extension to C:\Program Files\java\jre1.8.0_131\bin\java.exe, all you need to do to run the jar is:
converter.jar
or java.exe -jar converter.jar
To run the jar in an Applet, see Applet for some sample HTML (Hypertext Markup Language) or see
on doing it.
In XP, W2003, Vista, W2008, W7-32, W7-64, W8-32, W8-64, W2012, W10-32 and W10-64 you can use the method shown below:.
Run
if you want to hook up your 32-bit JRE or
if you want to hook up your 64-bit JRE. It says on does not work on W10-32 and W10-64, but it does.
Look for:
and change it to:
There are lots of other methods people have recommended, but this is the only one I found that works.
This page is posted |
http://mindprod.com/jgloss/executablejar.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\executablejar.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[18.119.162.226] |
| |
Feedback |
You are visitor number | |