Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |
| student:java:jar [2025/08/31 19:44] – bernstdh | student:java:jar [2025/10/15 15:08] (current) – bernstdh |
|---|
| ==== Creating an Executable JAR File ==== | ==== Creating an Executable JAR File ==== |
| |
| | You can create an executable JAR file by including a manifest that includes a ''%%Main-Class:%%'' directive. For more information, see the [[ http://java.sun.com/docs/books/tutorial/deployment/jar/appman.html | tutorial ]]. |
| |
| An "executable JAR" file can be executed using the ''%%java%%'' tool with the ''%%-jar%%'' switch or, if the associations are set properly, by "clicking" on it. | The manifest can include a ''Class-Path'' entry that can contain external class files and jar files. FOr more information, see the |
| | [[https://docs.oracle.com/javase/tutorial/deployment/jar/downman.html | tutorial ]]. |
| |
| |
| |
| You can create an executable JAR file by including a manifest that includes a ''%%Main-Class:%%'' directive. For more information, see the [[ http://java.sun.com/docs/books/tutorial/deployment/jar/appman.html | tutorial ]]. | |
| |
| ==== Running an Executable .jar File ==== | ==== Running an Executable .jar File ==== |