After upgrading an Agent to a new version receiving the below error.
Release : 11.4
Component : Workload Automation Autosys / System Agent
This error indicates that the old Agent was not removed from the system cleanly, so when the new agent with the soft link for the jre location was deployed, it was still looking for the old local Java.
A complete clean reinstall will resolve the issue.