When attempting installations of the AutoSys Client and Agent from the DVD0000000002861 iso, only the Client is installed.
The Agent component installation fails with return code of "-1".
OpenJDK8U-jdk_x64_windows_hotspot_8u282b08 was installed on the server prior to installation and is still installed.
Release : 12.0
Component : CA Workload Automation AE (AutoSys)
It appears to be a bug in the installer when an existed Java is selected during the installation.
There are two workarounds:
1. Install the Client and Agent using bundled Java.
2. Install the Client and Agent using existed Java.
When the agent installation fails, in C:\Program Files\CA\WorkloadAutomationAE\autosys\AgentSilentInstall.WA_AGENT.properties, change the following lines:
JVM_DOT=C:\\Program Files\\AdoptOpenJDK\\jdk-8.0.282.8-hotspot\\jre
JVM_PATH=C:\\Program Files\\AdoptOpenJDK\\jdk-8.0.282.8-hotspot\\bin\\java.exe
to
JVM_DOT=C:\\Program Files\\CA\\WorkloadAutomationAE\\JRE_WA
JVM_PATH=C:\\Program Files\\CA\\WorkloadAutomationAE\\JRE_WA\\bin\\java.exe
Note: JRE_WA is a symbolic link to C:\\Program Files\\AdoptOpenJDK\\jdk-8.0.282.8-hotspot\\jre.
Run the following command to complete the agent installation:
D:\\modules\Agent\setup.exe -i SILENT -f "C:\Program Files\CA\WorkloadAutomationAE\autosys\AgentSilentInstall.WA_AGENT.properties"