Why is the Java version provided with AutoSys install now requiring licensing?
search cancel

Why is the Java version provided with AutoSys install now requiring licensing?


Article ID: 258225


Updated On:


CA Workload Automation AE


When we installed 12.0 last year in our Prod Windows environment, we were told the Java we installed did not require licensing (came with the application). 
Now, we're receiving automated notifications on our schedulers that "This version of the Java Runtime is licensed only for your personal (non-commercial) desktop and laptop use. 
Commercial use of this software requires a separate license from Oracle or from your software vendor. 
Click to install and accept the license agreement and install Java now, or click Remove to uninstall it from your system."

Clearly, we cannot remove it. 
As our vendor, what changes in licensing do we need to be aware of as the cost of support and purchase of the application itself was supposed to encompass all of this as we understood it.

We are also using AWS plug-ins that require Java, so we are confused on this. 
Please advise.


Windows 2019
Autosys 12.x


During the R12 installation, an external Java was chosen and not the application bundled Java.

From the <WorkloadAutomationAE>\Logs\AutoSys_Workload_Automation_Install_*.log

We can see when the installer was done an EXTERNAL Java was chosen and not the internal one:
Line   82: #Choose Java Virtual Machine
    Line   84: JDK_HOME=C:\\Java\\jdk1.8.0_291
    Line  483: #Choose Java Virtual Machine
    Line  485: IA_AE_JAVA_DOT=C:\\Java\\jdk1.8.0_291\\jre
    Line  486: IA_AE_JAVA_EXE=C:\\Java\\jdk1.8.0_291\\bin\\java.exe

If the internal java was chosen it would have looked something like
    Line    82: #Choose Java Virtual Machine
    Line   480: #Choose Java Virtual Machine
    Line   482: IA_AE_JAVA_DOT=C:\\Program Files\\CA\\WorkloadAutomationAE\\jre
    Line   483: IA_AE_JAVA_EXE=C:\\Program Files\\CA\\WorkloadAutomationAE\\jre\\bin\\java.exe



there are two options.
Option 1)
if you want to use the Java that is distributed by Broadcom, you will need to uninstall the application and reinstall it.

Option 2) (See the links in additional information for an example on doing this)
The other option you have is to replace the java in the directory you have in use currently
This would involve steps something along the lines of.
-stop all java services
-Uninstall the current version of java
-download the type and version of 64-bit java you want to use
-install it back to the same location and structure as the previous one
-test and make sure things work as expected.

If using external Java you will need to validate the soft links:

Additional Information