How to Extract a JAR File

This wikiHow teaches you how to extract a JAR file's contents. JAR files are zipped Java files that are typically executed within a Java environment. While extracting JAR files can be tricky depending on your computer's operating system,...

Method 1 of 4:

Using ExtractMe

  1. Picture 1 of How to Extract a JAR File
    Understand when to use this method. ExtractMe is a website that will extract your JAR files for you; however, even though ExtractMe is secure, you shouldn't use it to extract JAR files which contain sensitive or private information.
  2. Picture 2 of How to Extract a JAR File
    Open ExtractMe. Go to https://extract.me/ in your computer's web browser.
  3. Picture 3 of How to Extract a JAR File
    Click Choose file. It's in the middle of the page. Doing so opens a File Explorer (Windows) or Finder (Mac) window.
  4. Picture 4 of How to Extract a JAR File
    Select your JAR file. Go to the location of the JAR file you want to extract, then click it once to select it.
  5. Picture 5 of How to Extract a JAR File
    Click Open. It's in the lower-right side of the window. Your JAR file will be uploaded to ExtractMe, which will begin extracting the file.
  6. Picture 6 of How to Extract a JAR File
    Wait for your JAR file to extract. Once you see the "Archive successfully extracted" message appear, you can proceed.
  7. Picture 7 of How to Extract a JAR File
    Click Save all as ZIP. It's a blue button at the top of the list of archive files.
    1. Depending on your browser's settings, you may have to select a download location or enter a save name before the ZIP folder will download.
    2. If your browser alerts you that downloading a ZIP folder from online is potentially dangerous, confirm that you want to download the folder.
Method 2 of 4:

Using WinRAR on Windows

  1. Picture 8 of How to Extract a JAR File
    Install WinRAR. Make sure you check the "JAR" box if it's unchecked when selecting file types to use.
  2. Picture 9 of How to Extract a JAR File
    Find the JAR file you want to extract. Go to the location of the JAR file that you want to extract.
  3. Picture 10 of How to Extract a JAR File
    Right-click the JAR file. Doing so prompts a drop-down menu.
  4. Picture 11 of How to Extract a JAR File
    Select Open with. It's in the drop-down menu. A pop-out menu will appear.
    1. If you don't see this option, click once the JAR file, then right-click it again and select Open with.
  5. Picture 12 of How to Extract a JAR File
    Click WinRAR archiver. This is in the pop-out menu. Your JAR file will open in a WinRAR window.
  6. Picture 13 of How to Extract a JAR File
    Click Extract To. It's a blue folder icon at the top of the WinRAR folder.
  7. Picture 14 of How to Extract a JAR File
    Select an extraction location. If necessary, click one of the folders on the right side of the window to select it as the location to which you want to extract your JAR file.
  8. Picture 15 of How to Extract a JAR File
    Click OK. It's at the bottom of the WinRAR window. Doing so will extract your JAR file to the selected folder.
Method 3 of 4:

Using Java on Windows

  1. Picture 16 of How to Extract a JAR File
    Make sure you have Java SE installed. If you don't have Java SE (the Java Developer Kit) installed, you won't be able to use the "jar" extraction command, and your file will be impossible to extract with this method:
    1. Open the JDK 10 download page.
    2. Check the "Accept License Agreement" box.
    3. Click the download link next to your computer's operating system.
    4. Double-click the downloaded setup file.
    5. Follow the on-screen installation prompts.
  2. Picture 17 of How to Extract a JAR File
    Open File Explorer
    Picture 18 of How to Extract a JAR File
    . Click the folder-shaped File Explorer app icon in the taskbar that's at the bottom of your computer's screen.
  3. Picture 19 of How to Extract a JAR File
    Go to the JAR file's location. Find the JAR file that you want to unzip.
  4. Picture 20 of How to Extract a JAR File
    Select the JAR file's path. Click a blank space in the address bar at the top of the File Explorer window to do so.
  5. Picture 21 of How to Extract a JAR File
    Copy the path. Press Ctrl+C. This will save the path to your JAR file.
  6. Picture 22 of How to Extract a JAR File
    Open Start
    Picture 23 of How to Extract a JAR File
    . Click the Windows logo in the bottom-left corner of the screen.
  7. Picture 24 of How to Extract a JAR File
    Open Command Prompt. Type in command prompt, then click
    Picture 25 of How to Extract a JAR File
    Command Prompt at the top of the Start window to open it.
  8. Picture 26 of How to Extract a JAR File
    Switch to the JAR file's location. Type in cd and press the space bar, paste in the copied address by pressing Ctrl+V, and press Enter.
  9. Picture 27 of How to Extract a JAR File
    Enter the "extract" command and your JAR file's name. Type in jar xf and press the space bar, type in your JAR file's name followed by ".jar" (e.g., a file called "mods" would be mods.jar), and press Enter.
    1. For example, to extract a JAR file called "minecraft", you would type in jar xf minecraft.jar and press Enter.
  10. Picture 28 of How to Extract a JAR File
    Go back to the JAR file's location. You should now see the JAR file's extracted contents here.
Method 4 of 4:

Using Java on Mac

  1. Picture 29 of How to Extract a JAR File
    Make sure you have Java SE installed. If you don't have Java SE (the Java Developer Kit) installed, you won't be able to use the "jar" extraction command, and your file will be impossible to extract with this method:
    1. Open the JDK 10 download page.
    2. Check the "Accept License Agreement" box.
    3. Click the download link next to your computer's operating system.
    4. Double-click the downloaded setup file.
    5. Follow the on-screen installation prompts.
  2. Picture 30 of How to Extract a JAR File
    Open
    Picture 31 of How to Extract a JAR File
    Finder. Click the Finder app icon, which resembles a blue face, in your Mac's Dock.
  3. Picture 32 of How to Extract a JAR File
    Find your JAR file. Go to the location of the JAR file that you want to extract.
  4. Picture 33 of How to Extract a JAR File
    Select your JAR file. Click once the JAR file to do so.
  5. Picture 34 of How to Extract a JAR File
    Copy the JAR file's path. Press Command+ Option+C to do so. This will copy the file path to the JAR file along with the JAR file's name and extension.
  6. Picture 35 of How to Extract a JAR File
    Open Spotlight
    Picture 36 of How to Extract a JAR File
    . Click the magnifying glass-shaped Spotlight icon in the top-right corner of the screen to do so.
  7. Picture 37 of How to Extract a JAR File
    Open Terminal. Type terminal into the Spotlight text box, then double-click
    Picture 38 of How to Extract a JAR File
    Terminal in the resulting drop-down menu. This will open a Terminal window.
  8. Picture 39 of How to Extract a JAR File
    Enter the "extract" command and your JAR file's path. Type in jar xf and press the space bar, press Command+V to paste in your JAR file's path, and press Return.
  9. Picture 40 of How to Extract a JAR File
    Go back to the JAR file's location. You should now see the JAR file's extracted contents here.
Update 05 March 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile