javajarjavaw

Unable to execute .jar file


I'm having a problem with running .jar files. Here's what I've observed:

I'm working on Windows 7 Professional with Java SE 7u51 JDK installed. I've already tried to uninstall anything that had "java" in its name and then install only JDK or only JRE. I've also tried to run jarfix or manually delete all .jar associations in registry. I've added my JRE path to other system variables. Nothing has worked for me.

Please do you have any idea what to try next? Thank you.

Resolved:
Thanks to the answers I've managed to resolve the problem with doubleclicking as well. I've just had to:

  1. set the JAVA_HOME variable
  2. restart the computer
  3. run jarfix

Solution

  • Couple of quick solutions: