EXE4J_JAVA_HOME, No JVM could be found on your system

No JVM could be found on your system. Please define EXE4J_JAVA_HOME to point to an installed 32-bit / 64-bit JDK or JRE or download a JRE from www.java.com. This is very common error faced by Windows users when they try to run Java based applications and Windows can not find Java Runtime Environment which is required to run Java Apps.

This error is also faced by thousands of Minecraft users. Java is required to run Minecraft and all other games which are made in Java. Java enables developer to create cross-platform applications.


Solution #1

Verify that Java is installed in your computer, browse Start > Computer > Local Disk (C:/) > Program Files > Java > jre8. Select the path by right clicking on Path and choose Copy address.

Now open Computer > System Properties >Advanced system settings > Advanced > Enviroment Variables. Click the “New” button in the System Variables area and enter following details.


Variable name: EXE4J_JAVA_HOME
Variable value: C:Program FilesJavajre8
(This should point to a valid Java8 install)


Press Ok and restart your computer. In Windows 64 versions, Java is installed in “Program Files”, not in “Program Files (x86)”.

Solution #2

  1. Download JavaRa
  2. Run JavaRa.exe, choose the language of your choice. Then click Remove Older Versions. Accept any prompts.
  3. Open JavaRa.exe again and select Search For Updates.
  4. Select Update Using Sun Java’s Website then click Search and click on the Open Webpage button.
  5. Download and install the latest Java Runtime Environment (JRE) version for your computer.

If JavaRA can not delete the old version from your computer, try Revo Uninstaller to delete it.

  • Mike

    Solution #1 works great. Thanks a lot, Armaan!

  • tenoch

    Thanks, like

  • macmac

    why is the minecraft is not installing

  • ahmadmalahy


  • Alex

    Since the last update (Jan 2015), the path has changed for Windows 64 versions. Java is installed in “Program Files (x86)”.

    • asd

      fuck you minecraft user hahahaha

      • Jureg Faz U Urru

        ignorant, does not always need java for this, I’m using to be able to use LaserTweak (progama to change the color of the target of resident evil 4 and even so it is giving error)

  • asd

    damn it’s so log bullshit

  • TutorialNom

    THANK YOU! Finally worked.

  • Николай Астахов

    Спасибо !