Why a symbol link, pointing to a jre, is required in the agent directory?
The symbol links are automatically created when the agent is installed/upgraded, but our windows team would like to find out if there is a way to just use the system version of java without having to mess around with symbol links.
Release : 12.0
Component : Workload Automation System Agent
In the Agent parameter file, agentparm.txt, there is a parameter, oscomponent.javapath, that specifies the full path to the directory where Java resides.
Below is an example:
# Java parameters
In this case, the Java resides under the <Agent>/jre directory.
If you're not using the Java that resides under <Agent>/jre directory, you can create a software link <Agent>/jre that points to the actual location of the JRE that you installed. In this case, you do not need to update the oscomponent.javapath parameter setting.
Alternatively, if you're not using the jre soft link, you can specify the full path of Java via the oscomponent.javapath parameter. Each time the location of your Java is changed, you need to update your parameter in agentparm.txt. To make any change in agentparm.txt effective, you will need to restart the Agent service as well.