Views:

Summary



The DPX installation may alter the JRE_HOME variable, which may impact third-party Java applications.

Symptoms



Some third-party Java applications (for example Apache Tomcat) expect the JRE_HOME variable to be set. Applications such as these may be impacted by DPX installation.

In the case of Apache Tomcat, the following error displays if the DPX installation altered the JRE_HOME variable: "The JRE_HOME environment variable is not defined correctly; The JRE_HOME environment variable is needed to run this program"

This issue occurs if the JRE version required by your third-party Java applications and DPX are different.



Resolution



  1. Review the JRE_HOME variable by entering the following in a command prompt:
  2. echo %JRE_HOME%
  3. Note: For Tomcat, the variable may be set to “C:\Program Files\Java\jre7”.
  4. Make note of the content of the JRE_HOME variable before installing DPX.
  5. After the DPX installation completes, the JRE_HOME variable may be set to a different value, such as "C:\Program Files\DPX\tools\jre”.
  6. To edit the variable, go to System Properties > Environment Variables and edit JRE_HOME to the original variable, noted in step 2.