We have openfire installed on 32-bit Windows Server, with both EXE4J_JAVA_HOME and JAVA_HOME set to C:\Program Files\Java\jre6\bin. Even with those set, we are received the following error:
“No JVM could be found on your system. Please define EXE4J_JAVA_HOME to point to an installed JDK or JRE or download a JRE from www.java.com.”
We installed OpenFire a while ago as a windows service that started automaticaly, though it seems to have stopped starting automatically a while back. Any help would be great. Thanks!
Goto to C:\PROGRAM FILES (or PROGRAM FILES (X86) )\Java\bin and select java.exe.
Click on the details tab and get the version.
Next, run Regedit.exe (or regedt32.exe) and drill down to the following key: HKEY_CURRENT_USER\Software\ej-technologies\exe4j\jvms
Look for a key name that matches the path from step 1.
If not found, you’ll need to create one.
a. Right click on the jvms key and select New Key and name it c:/program files/java/jre6/bin/java.exe
b. Right click in the right hand pane and create a new String value called Version. Set the value to eg. 1.6.0._34
If the key exists, check the Version value and change it to match the version of java.exe (as in step 5b).
That’s it.
Note that Spark 2.6.3 will only work with Java 6 (currently patched with update 34). You can have both 6 & 7 on a workstation.