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. For Java version 1.4 or later, after you have built the Main-Class entry, and set up an association of the *.jar extension to C:\Program Files\java\jre7\bin\java.exe, all you need to do to run the jar is:
converter.jaror
java.exe -jar converter.jar
For Java version 1.1, you need a little more, something like this:
To run the jar in an Applet, see Applet for some sample HTML (Hypertext Markup Language) or see
on doing it.
|
|
You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) |
| http://mindprod.com/jgloss/executablejar.html | J:\mindprod\jgloss\executablejar.html | |
![]() | Please email your feedback for publication,
letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording,
broken/redirected link reports, suggestions to improve this page or comments to
Roedy Green :
| |
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.179.212] | |
| Feedback | You are visitor number 11. | |