Pointing Applications Manager to a new version of Java
search cancel

Pointing Applications Manager to a new version of Java

book

Article ID: 263753

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

How does Applications Manager decide which Java version it will use when starting up?

Environment

Release : 9.x

Resolution

Applications Manager will use the Java version that is found first in the PATH environment variable.

When installing Java or if multiple version of Java is installed, the following environment variables need to be set to include the Java installation path and its bin directory:

JAVA_HOME
PATH

For LInux/Unix OS, JAVA_HOME and PATH can be set by adding the below lines to the .bash_profile, the $AW_HOME/sosite, or to any other environment script that is called by starting Applications Manager:

JAVA_HOME=/path/to/java/home/directory; export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH; export PATH

 

For Windows OS, environment variables can be set within the Windows System Properties. If setting in the %AW_HOME%\sosite.bat file or to any other environment script that is called before starting Applications Manager, the below line can be added:

SET JAVA_HOME=C:\path\to\java\home\directory
SET PATH=%JAVA_HOME%\bin;%PATH%