Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to fix EXE4J_JAVA_HOME, No JVM could be found on your system error?

Tags:

java

exe4j

I installed java 64bit 1.7 and exe4j 64bit version. I tried to generate an exe from exe4j, but while running the program I'm having this error.
This is how I set up path variable. And this is right jre path. What did I miss here? please let me know.

enter image description here

Thank you.

like image 736
Dil. Avatar asked Aug 05 '15 16:08

Dil.


People also ask

Where is JVM installed path?

goto the AndroidStudio installation folder. add set JAVA_HOME=C:\Program Files\Java2\jdk1. 8.0 //your java path after the ECHO line. right click on Android Studio and click on properties .

How to Fix error please define Exe4j_ Java_ Home?

Solution #1: Fix Enviroment Variables 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. Press Ok and restart your computer.


3 Answers

This has to be done during your exe4j configuration. In the fourth step of Exe4j wizard which is Executable Info select> Advanced options select 32-bit or 64-bit. This worked well for me. or else install both JDK tool-kits x64 and x32 in your machine.

like image 177
Chathurika Senani Avatar answered Oct 24 '22 07:10

Chathurika Senani


Try installing the 32 bit version of Java 6. This works for version Install4J 4.0.5. Should fire right up, or allow you to re-run the installer.

Any newer version or the 64-bit version of 6 will fail, complaining that the java.exe is damaged.

like image 45
bhlowe Avatar answered Oct 24 '22 08:10

bhlowe


There are few steps to overcome this problem:

  1. Uninstall Java related softwares
  2. Uninstall NodeJS if installed
  3. Download java 8 update161
  4. Install it

The problem solved: The problem raised to me at the uninstallation on openfire server.

like image 25
inthiyaz Avatar answered Oct 24 '22 08:10

inthiyaz