Tuesday, 20 December 2016

JAR extract & replace class and create JAR

JAR extract & replace class and create JAR

By following the below steps we can extract the JAR files without any software installation. 

Before you going to use below steps check the class path if not please set.

echo %path%

Extract the JAR File:

cmd> jar  -xf  <file_name.jar>;

By following the below steps we can create the JAR files without any software installation. 

Create JAR File:

cmd> jar  -cf  <file_name.jar>  *;

Note: * represents it takes all files in the current directory and create JAR with given name.

No comments:

Post a Comment