Troubleshooting
Problem
When you start DWA by running server.start.bat, it fails with the following error:
"NON IBM JAVA"
Press any key to continue . . .
The JRE_HOME environment variable is not defined correctly
This environment variable is needed to run this program
Cause
The environment variable JAVA_HOME is not set.
Note that the error message mentions about JRE_HOME, rather than JAVA_HOME.
Setting environment variable JRE_HOME does not help.
Server.start.bat uses JRE_HOME variable but it does not take the value directly from environment variable JRE_HOME.
It sets JRE_HOME variable to the value of environment variable JAVA_HOME.
In server.start.bat, there is the following line:
set JRE_HOME=%JAVA_HOME%
Diagnosing The Problem
Under command prompt, check the environment variable JAVA_HOME by running "set JAVA_HOME"
C:\IBM\DWA972>set JAVA_HOME
Environment variable JAVA_HOME not defined
or
Check environment variable JAVA_HOME by going to System Properties > Environment Variables
Resolving The Problem
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
21 September 2021
UID
ibm16487977