Set an environment variable for the Java location
Java
locationBEMS
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
.- Open theWindows Advanced system settingsdialog box.
- ClickEnvironment Variables.
- In theSystem variableslist, complete one of the following tasks:
- IfJAVA_HOMEdoes not exist, create the variable. clickNew. In theVariable namefield, typeJAVA_HOME.
- If theJAVA_HOMEvariable exists, clickEdit.
- In theVariable valuefield, type the full path to theJavainstall folder for the 64-bitJRE. For example,
- If you installedOracle'sJREversion 17JDK, typeC:\Program Files\Java\jdk-17
- If you install an alternateJRE, for exampleZulu, typeC:\Program Files\Zulu\zulu-17
If you use an OpenJDK version and include the direct path to the java.exe file, theBEMSinstaller 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. - ClickOK. ClickOKagain.