Resolving the java.lang.UnsupportedClassVersionError
When Connecting
from a Linux Computer
The following error may occur when connecting to an environment from a Linux computer where EPM Automate is configured to use a Java version earlier than version 17.
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/hyperion/epmctl/client/processor/EPMCTLProcessor has been compiled by a more recent version of the Java Runtime (class file version 61.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(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:371) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:642)
To fix this issue:
- Install Java version 17 on the Linux computer from which you are running EPM Automate
- Set the
JAVA_HOME
environment variable to point to the Java installation in the preceding step.
If you cannot install Java 17 on the client computer, downgrade EPM Automate to version 25.07 or earlier. You can download an older version of EPM Automate from an environment running Oracle Fusion Cloud Enterprise Performance Management 25.07 or lower update. If you don’t have such an environment, create a service request for Oracle to downgrade one of your environments to 25.07.