search cancel

Integrated Cyber Defense Exchange (ICDx) upgrade fails with java error

book

Article ID: 200650

calendar_today

Updated On:

Products

Integrated Cyber Defense Exchange

Issue/Introduction

When upgrading the Integrated Cyber Defense Exchange (ICDx) softare, you find the upgrade has failed with a Java error similar to the following:

ERROR[2020-09-29 17:12:27] Exception in thread "main" java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/symantec/lib/app/SimpleApplication, offset=6
        at java.lang.ClassLoader.defineClassImpl(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:324)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:155)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:715)
        at java.net.URLClassLoader.access$400(URLClassLoader.java:94)
        at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1169)
        at java.security.AccessController.doPrivileged(AccessController.java:492)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:598)
        at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:777)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:750)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:341)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:731)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495

Cause

The error occurs when there is a mismatch in Java versions installed.

Environment

Release : 1.4.1

Component : installer

Resolution

Java should not be installed outside of the ICDx installation. However, the following command can be used as a workaround prior to the installation attempt:

unset JAVA_HOME