IBM Support

Cognos Analytics will not use the JRE embedded in Windows installations if a JAVA_HOME is set



Installations of Cognos Analytics on Windows include a Java run time environment (JRE). This JRE will not be used if there is JAVA_HOME environment variable set to a different location and Cognos is started as a Windows service.

Resolving The Problem

If you want to start Cognos Analytics as Windows service and use the JRE that is bundled with it, then you cannot have a JAVA_HOME environment variable set to a location other than the bundled JRE.

To remove or change an environment variable permanently in Windows, start the "Control Panel" ⇒ "System" ⇒ "Advanced system settings" ⇒ Switch to "Advanced" tab ⇒ "Environment variables" ⇒ Choose "System Variables" (for all users) or "User Variables" (for this login user only) ⇒ On the "JAVA_HOME" variable choose "Edit" to change the location or "Delete" to remove the variable.

If JAVA_HOME is unset, Cognos Analytics servers on Windows will always use their embedded JRE.

[{"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"}],"Version":"11.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 June 2018