Note: Do not put this as duplicate because nobody has posted this error related with java 8.
I have exe4j for a while now. Everything was running fine. But when I installed Java 8, It started gaving an error EXE4J_JAVA_HOME.
Here is a screen:
Note that I have Java 1.8.0_05. for 64bits.
How do I fix that??
-->This is important and I need to get this fixed quickly.
I got exactly same error message, when trying to run Java based program on Windows.
I had Java 7 already installed, but this case appears that program requires Java 8 version.
Next very important thing is the version of the program. If program is 32-bit, it requires Java 8 32-bit version to be installed. If program is 64-bit, it will requires corresponding 64-bit Java version.
In my case, I needed to install Java 8 32-bit version and program runs fine.