powered by Jive Software

OpenFire won't start

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!

Virus or deleted files?

Permissions?

Java update (junsched.exe)?

EXE4J_JAVA_HOME path is between quotes?

Where you set it up?: Enviroment vars, service, “.bat” script?

  1. Goto to C:\PROGRAM FILES (or PROGRAM FILES (X86) )\Java\bin and select java.exe.
  2. Click on the details tab and get the version.
  3. Next, run Regedit.exe (or regedt32.exe) and drill down to the following key: HKEY_CURRENT_USER\Software\ej-technologies\exe4j\jvms
  4. Look for a key name that matches the path from step 1.
  5. 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
  6. If the key exists, check the Version value and change it to match the version of java.exe (as in step 5b).
  7. 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.

Whoops. This was meant for the Spark client (same error), but should work with the server.