Action "Run Command Line" fails with "Error occurred during execution. Cannot resolve action result of the remote process"

Document ID : KB000100342
Last Modified Date : 06/06/2018
Show Technical Document Details
Issue:

When using a Run Command Line Action with Run As credentials (providing username and password) in a process, the action fails with message
"Error occurred during execution. Cannot resolve action result of the remote process" 

Here is the exception that is shown in the agent log file 
java.lang.UnsupportedClassVersionError: com/nolio/platform/shared/executables/actions/files/v2/CopyFilesAction : Unsupported major.minor version 51.0

If this specific action is run separately then it works fine but when it runs as a part of process it fails.

Environment:
Release Automation 5.0.2.197
OS Windows
Java version :1.6.0_19
Cause:
The issue is around the the specific libraries support java 1.7 and not available on java 1.6
Resolution:
Upgrade to any Java 1.7 version