Differences between version 9 and predecessor to the previous major change of JavaNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 9 | Last edited on Wednesday, May 2, 2007 8:56:36 am | by BenStaz | Revert |
Older page: | version 8 | Last edited on Wednesday, April 18, 2007 10:37:30 am | by BenStaz | Revert |
@@ -51,7 +51,15 @@
#Check the package name again
!The public type <name of class> must be defined in its own file
Check to make sure that the filename of the .java file has the same name as the class inside the file.
+
+!!!How do I run a jar file?
+
+A JAR file (or Java Archive) is a ZIP file used to distribute a set of Java classes. It is used to store compiled Java classes and associated metadata that can constitute a program.
+
+To run a [Java] application that is inside a .jar file Simply type:
+
+*java -jar <jar_file>
----
UserSubmittedNotes