eXo platform: Neither the JAVA_HOME nor the JRE_HOME environment variable is defined

Trabla: starting eXo platform via  start_eXo.bat
- error in cmd:

Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program

eXo platform JAVA_HOME JRE_HOME not defined


Solving:

To fix this error we need to create new environment variable
with name JRE_HOME
and value - path to JRE - java runtime environment

1. Open Control Panel -> System

eXo platform JAVA_HOME JRE_HOME not defined - tutorial 1

2. Click "Advance system settings"
then click "Environment Variables"
then click "New"

eXo platform JAVA_HOME JRE_HOME not defined - tutorial 2

3. Create new environment variable
JRE_HOME with value - path to JRE - java runtime environment
( e.g. on pc - C:\Program Files\Java\jre1.8.0_92 ) and press ok


eXo platform JAVA_HOME JRE_HOME not defined - tutorial 3



ATTENTION: if you have opened windows command promt ( cmd )
- you should restart it to new environment variable take effect !!!

No comments:

Post a Comment