Issue:
While starting the agent we get the error below:
Error: JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/automationedge/enums/AgentStartupmode has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
How to Reproduce:
You can reproduce this issue by Going to your server > Agent > Agent Settings and Disable the Include JRE with Agent.
Resolution:
To resolve the issue, you can go to the below path:
- Agent > Agent Settings and Enable the Include JRE with Agent.
- Download a new agent and start the agent.