Changing JRE version for Agents

Document ID : KB000004500
Last Modified Date : 14/02/2018
Show Technical Document Details
  • While running some actions the user is prompted with error  "Action cannot be loaded - not supported on legacy OS agents (running JRE 1.6)". It mostly occurs on environments where the prerequisite is to have the JRE installed before running agent installer.
Release Automation Agent: 6.1.X, 6.2.X running @ Server: HP-UX B.11.31 U ia64, AIX, Linux (any non-bundled JRE)

The cause of this problem is that the Release Automation agent is pointing to JRE6 installed on the server. To verify this is the case please navigate to path <RA-Agent Install dir>/jre/bin and execute below command(s):

  • Check if there is a symbolic link from NolioAgent to an older jre by running command 'ls -al':

                      lrwxr-xr-x 1 test    test  23 Oct 7 12:05 NolioAgent -> /opt/java6/jre/bin/java


  • Also check that there is one from 'ext' to the same jre by switching to directory <RA-Agent Install dir>/jre/lib and executing 'ls -al':

                      lrwxr-xr-x 1 test    test  23 Oct 7 12:05 ext -> /opt/java6/jre/lib/ext

  • Go to <RA Agent Install Directory>
  • Stop RA agent, you can achieve this by executing sh stop in <RA Agent Install Directory>
  • Once RA Agent is stopped go to directory <RA Agent Install Directory>/jre/bin
  • Remove the symbolic link by running command rm <symbolic link name> for example rm NolioAgent
  • Get full path to java from java7 in your environment for example /opt/java7/jre/bin/java
  • Create the first symbolic link by running command ln -s <path to jre/bin> <link name> for example ln -s /opt/java7/jre/bin/java NolioAgent
  • Next, remove the symbolic link <RA-Agent Install Dir>/jre/lib/ext, eg: rm /opt/CA/ReleaseAutomationAgent/jre/lib/ext
  • Create the second symbolic link by running command ln -s <path to jre/lib/ext> <link name>, for example:

ln -s /opt/java7/jre/lib/ext /opt/CA/ReleaseAutomationAgent/jre/lib/ext

  • Start the Agent service which can be achieved by running sh start from <RA Agent install directory>
Additional Information:

Please contact CA Support in case if you have any question or query.