Extract and Create a jar file from command prompt
Extract :
Take a jar file, from that location in command prompt and just run "jar xf filename.jar"
Ex: C:\Java> jar xf myFile.jar
This will extract the jar and saves to the folder.
Create :
Take a folder containg file, just run a command line "jar cf jarName.jar folderName"
Ex: C:\Java> jar cf myJar.jar myfile
This will create a jar file containing myfile.
Thanks,
Amar
Extract :
Take a jar file, from that location in command prompt and just run "jar xf filename.jar"
Ex: C:\Java> jar xf myFile.jar
This will extract the jar and saves to the folder.
Create :
Take a folder containg file, just run a command line "jar cf jarName.jar folderName"
Ex: C:\Java> jar cf myJar.jar myfile
This will create a jar file containing myfile.
Thanks,
Amar