I can't run jar files on my Windows 7 PC

I can't run jar files on my Windows 7 PC - Turned Off Laptop Computer

OK, so I can't run Java executable files of any sort on my Windows 7 PC. The one in particular I'm trying to use is the Forge installer for Minecraft. Normally, an installer window should open when I double click the file. I have Java installed and I set it to open with Java (TM) SE Binary but all that does is make the command prompt window open and then close again instantly. I have tried using the command method to open it but then it comes up with the error saying Error:

Unable to access jarfile runable_jar.jar

I have downloaded the JDK file because I heard that was something I needed, but I'm not sure where to put it so it will do what it is supposed to.

Was there something else I needed to download or is there something wrong with the version of Java I'm using (I checked and it's at the latest update). By the way I have a Windows 7 64 bit if that helps.






Pictures about "I can't run jar files on my Windows 7 PC"

I can't run jar files on my Windows 7 PC - Photo of Man Holding a Book
I can't run jar files on my Windows 7 PC - Person Using Macbook on Table
I can't run jar files on my Windows 7 PC - Man in White Dress Shirt Sitting on Black Rolling Chair While Facing Black Computer Set and Smiling



Quick Answer about "I can't run jar files on my Windows 7 PC"

  • Start "Control Panel"
  • Click "Default Programs"
  • Click "Associate a file type or protocol with a specific program"
  • Double click . jar.
  • Browse C:\Program Files\Java\jre7\bin\javaw.exe.
  • Click the button Open.
  • Click the button OK.


  • How do I run a JAR file on a PC?

    Follow these steps to open a . JAR file with WinRAR:
  • Download and install RARLAB WinRAR.
  • Launch it to run the program.
  • Click on File and then select Open Archive.
  • Navigate to where the file is and select it.
  • Click on Extract To and go to commands.
  • Select \u201cExtract to the specified folder.\u201d
  • Accept defaults.


  • How do I enable JAR files?

    In your windows firewall settings, you have an "Exceptions" tab. Add "java" or "javaw" or whatever you use there as an exception. You can also add port 20 and port 21 to the list of exceptions.



    Nas - I Can (Official HD Video)




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Ken Tomita, Andrea Piacquadio, EKATERINA BOLOVTSOVA, Andrea Piacquadio