Skip Navigation

Set an environment variable for the
Java
location

BEMS
requires you to install a
JRE
17 implementation on the servers where you will install
BEMS
, and that you have an environment variable that points to the
Java
home location. For more information about supported JRE versions, see the Compatibility matrix.
When you begin the installation,
BEMS
verifies that it can find
Java
. If
BEMS
can't find
Java
, the setup application will stop on the prerequisites panel, and you must set an environment variable for the
Java
location. Note that you must close down the installer at this time and restart it only after the environment variable has been created or updated.
It is recommended to disable the auto-updates to the
Java
Runtime Environment to avoid possible disruption of the
BEMS
notification function. For instructions on how to upgrade the
Java
version, visit KB48312.
Verify that you have installed
JRE
17 on the server where you will be installing
BEMS
.
  1. Open the
    Windows Advanced system settings
    dialog box.
  2. Click
    Environment Variables
    .
  3. In the
    System variables
    list, complete one of the following tasks:
    • If
      JAVA_HOME
      does not exist, create the variable. click
      New
      . In the
      Variable name
      field, type
      JAVA_HOME
      .
    • If the
      JAVA_HOME
      variable exists, click
      Edit
      .
  4. In the
    Variable value
    field, type the full path to the
    Java
    install folder for the 64-bit
    JRE
    . For example,
    • If you installed
      Oracle
      's
      JRE
      version 17
      JDK
      , type
      C:\Program Files\Java\jdk-17
    • If you install an alternate
      JRE
      , for example
      Zulu
      , type
      C:\Program Files\Zulu\zulu-17
    If you use an OpenJDK version and include the direct path to the java.exe file, the
    BEMS
    installer returns the following error message:
    Could not find a valid Java virtual machine to load. You may need to reinstall a supported java virtual machine
    .
  5. Click
    OK
    . Click
    OK
    again.