ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

XOG client fails with Java error XOGClient has been compiled by a more recent version of the Java Runtime


Article ID: 141456


Updated On:


Clarity PPM On Premise


Calling XOG is failing with error: 

C:\Program Files (x86)\CA\PPM\CA PPM XOG\bin>xog -propertyfile

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/niku/xog/client/XOGClient 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

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(Unknown Source)

        at Source)

        at Source)

        at$100(Unknown Source)

        at$ Source)

        at$ Source)

        at Method)

        at Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Unknown Source)

        at com.werken.forehead.Forehead.setupEntry(

        at com.werken.forehead.Forehead.config(

        at com.werken.forehead.Forehead.config(

        at com.werken.forehead.Forehead.main(

C:\Program Files (x86)\CA\PPM\CA PPM XOG\bin>java -version

java version "1.8.0_192"

Java(TM) SE Runtime Environment (build 1.8.0_192-b12)

Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode)


C:\Program Files (x86)\CA\PPM\CA PPM XOG\bin>


Release : Clarity releases working on Java 11


You have to use Java 11 with XOG for it to work. Go to Control Panel - System - Environmental variables and ensure you have set up Java 11 in the PATH as well as JAVA_HOME in the environmental variables. 

Then close and reopen Command Prompt and try again and this should work