Next, create a JAR file containing the Count.class file. Type the following in your command window:
Count.class
jar cvf Count.jar Count.class
This creates a JAR file, Count.jar, and places the Count.class file inside it.
Count.jar
Your use of this page and all the material on pages under "The Java Tutorials" banner is subject to these legal notices.
Copyright © 1995, 2015 Oracle and/or its affiliates. All rights reserved.
Problems with the examples? Try Compiling and Running the Examples: FAQs.
Complaints? Compliments? Suggestions? Give us your feedback.