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
Problems with the examples? Try Compiling and Running the Examples: FAQs. Complaints? Compliments? Suggestions? Give us your feedback.
Your use of this page and all the material on pages under "The Java Tutorials" banner is subject to these legal notices.
About Oracle | Oracle Technology Network | Terms of Service
Copyright © 1995, 2011 Oracle and/or its affiliates. All rights reserved.