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. How to Extract a JAR File Picture 1How to Extract a JAR File Picture 1
    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. How to Extract a JAR File Picture 2How to Extract a JAR File Picture 2
    Open ExtractMe. Go to https://extract.me/ in your computer's web browser.
  3. How to Extract a JAR File Picture 3How to Extract a JAR File Picture 3
    Click Choose file. It's in the middle of the page. Doing so opens a File Explorer (Windows) or Finder (Mac) window.
  4. How to Extract a JAR File Picture 4How to Extract a JAR File Picture 4
    Select your JAR file. Go to the location of the JAR file you want to extract, then click it once to select it.
  5. How to Extract a JAR File Picture 5How to Extract a JAR File Picture 5
    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. How to Extract a JAR File Picture 6How to Extract a JAR File Picture 6
    Wait for your JAR file to extract. Once you see the "Archive successfully extracted" message appear, you can proceed.
  7. How to Extract a JAR File Picture 7How to Extract a JAR File Picture 7
    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. How to Extract a JAR File Picture 8How to Extract a JAR File Picture 8
    Install WinRAR. Make sure you check the "JAR" box if it's unchecked when selecting file types to use.
  2. How to Extract a JAR File Picture 9How to Extract a JAR File Picture 9
    Find the JAR file you want to extract. Go to the location of the JAR file that you want to extract.
  3. How to Extract a JAR File Picture 10How to Extract a JAR File Picture 10
    Right-click the JAR file. Doing so prompts a drop-down menu.
  4. How to Extract a JAR File Picture 11How to Extract a JAR File Picture 11
    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. How to Extract a JAR File Picture 12How to Extract a JAR File Picture 12
    Click WinRAR archiver. This is in the pop-out menu. Your JAR file will open in a WinRAR window.
  6. How to Extract a JAR File Picture 13How to Extract a JAR File Picture 13
    Click Extract To. It's a blue folder icon at the top of the WinRAR folder.
  7. How to Extract a JAR File Picture 14How to Extract a JAR File Picture 14
    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. How to Extract a JAR File Picture 15How to Extract a JAR File Picture 15
    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. How to Extract a JAR File Picture 16How to Extract a JAR File Picture 16
    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. How to Extract a JAR File Picture 17How to Extract a JAR File Picture 17
    Open File Explorer
    How to Extract a JAR File Picture 18How to Extract a JAR File Picture 18
    . Click the folder-shaped File Explorer app icon in the taskbar that's at the bottom of your computer's screen.
  3. How to Extract a JAR File Picture 19How to Extract a JAR File Picture 19
    Go to the JAR file's location. Find the JAR file that you want to unzip.
  4. How to Extract a JAR File Picture 20How to Extract a JAR File Picture 20
    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. How to Extract a JAR File Picture 21How to Extract a JAR File Picture 21
    Copy the path. Press Ctrl+C. This will save the path to your JAR file.
  6. How to Extract a JAR File Picture 22How to Extract a JAR File Picture 22
    Open Start
    How to Extract a JAR File Picture 23How to Extract a JAR File Picture 23
    . Click the Windows logo in the bottom-left corner of the screen.
  7. How to Extract a JAR File Picture 24How to Extract a JAR File Picture 24
    Open Command Prompt. Type in command prompt, then click
    How to Extract a JAR File Picture 25How to Extract a JAR File Picture 25
    Command Prompt at the top of the Start window to open it.
  8. How to Extract a JAR File Picture 26How to Extract a JAR File Picture 26
    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. How to Extract a JAR File Picture 27How to Extract a JAR File Picture 27
    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. How to Extract a JAR File Picture 28How to Extract a JAR File Picture 28
    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. How to Extract a JAR File Picture 29How to Extract a JAR File Picture 29
    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. How to Extract a JAR File Picture 30How to Extract a JAR File Picture 30
    Open
    How to Extract a JAR File Picture 31How to Extract a JAR File Picture 31
    Finder. Click the Finder app icon, which resembles a blue face, in your Mac's Dock.
  3. How to Extract a JAR File Picture 32How to Extract a JAR File Picture 32
    Find your JAR file. Go to the location of the JAR file that you want to extract.
  4. How to Extract a JAR File Picture 33How to Extract a JAR File Picture 33
    Select your JAR file. Click once the JAR file to do so.
  5. How to Extract a JAR File Picture 34How to Extract a JAR File Picture 34
    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. How to Extract a JAR File Picture 35How to Extract a JAR File Picture 35
    Open Spotlight
    How to Extract a JAR File Picture 36How to Extract a JAR File Picture 36
    . Click the magnifying glass-shaped Spotlight icon in the top-right corner of the screen to do so.
  7. How to Extract a JAR File Picture 37How to Extract a JAR File Picture 37
    Open Terminal. Type terminal into the Spotlight text box, then double-click
    How to Extract a JAR File Picture 38How to Extract a JAR File Picture 38
    Terminal in the resulting drop-down menu. This will open a Terminal window.
  8. How to Extract a JAR File Picture 39How to Extract a JAR File Picture 39
    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. How to Extract a JAR File Picture 40How to Extract a JAR File Picture 40
    Go back to the JAR file's location. You should now see the JAR file's extracted contents here.
4.1 ★ | 14 Vote