IBM Support

Starting DOORS Web Access server results in error "The JRE_HOME environment variable is not defined correctly"

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

image 11460

Resolving The Problem

Set environment variable JAVA_HOME to be a valid path where JRE is installed.
For example,
C:\ibm\JazzTeamServer702\server\jre

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSKR2T","label":"IBM Engineering Requirements Management DOORS"},"ARM Category":[{"code":"a8m50000000CiqdAAC","label":"DOORS->DOORS Web Access (DWA)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
21 September 2021

UID

ibm16487977