APM 10.8 Applying SP1 error : java.lang.UnsupportedClassVersionError
search cancel

APM 10.8 Applying SP1 error : java.lang.UnsupportedClassVersionError

book

Article ID: 282047

calendar_today

Updated On: 04-12-2024

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

Getting an error while applying APM 10.8 SP1 

APM10.8.0.64SP1.jar
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/ca/fix/apm/hotfix/Hotfix 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

Environment

APM 10.8 

openjdk version 1.8.0_322

Cause

Java 11 is needed

Per Readme file and the Guide: Java 11 is mandatory for this service pack. You must download and install JRE 11 prior
to applying this service pack.

Resolution

After download and installing  Java 11 JRE, either move or delete the existing  <EM home>/jre directory and install the newly downloaded AdoptOpenJDK into <EM home>/jre

and run the APM 10.8 SP1