- Here is the one line command for making a .jar file from the class and other files.
jar -cf MyJar.jar A.class B.class .C.class
- c option for creating jar file
- f option for indicating output goes to a jar file instead of stdout
Reference
jar cvfe VAG.jar BackgroundGeometry *.class
java -jar VAG.jar
No comments:
Post a Comment