Java package: Difference between revisions

Content deleted Content added
mNo edit summary
Line 46:
jar cf myPackage.jar *.class
 
compresses all *.class files into the JAR file ''myPackage.jar''. The 'c' option on the command line tells the jar command to "create new archive." The 'f' option is should be placed just before the file name of the JAR file being created.
 
== Package naming conventions ==