Friday, March 21, 2014

How to Extract a Jar File



1. Install Java JDK. The latest version can be obtained from the Sun Microsystems website.

2. Open a terminal window (Linux) or command prompt (Windows). In Linux, the terminal window can be found under Application->Utilities (GNOME) or Start->Utilities (KDE). In Windows, the command prompt can be found under All Programs->Accessories.

3. Change to the directory or folder where the .jar file is held. In Linux, the command is 'cd MyDir/'. In Windows the command is 'cd C:\MyDir\'.

4. Type the following command:

jar xf myfile.jar

This command is the same in both operating systems.

No comments:

Post a Comment