X
61 Rate this article:
No rating

[ARCHIVE] Error During Installation of Harris FlexNet License Server on Debian 8: Unsupported major.minor version 5.2

Berangere Casson

When attempting to install the Harris FlexNet License Server on Debian 8, the following error may be encountered: 

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/flexnet/glservice/main/Main : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
./configure: line 253: /etc/default/flexnetls-$PUBLISHER: ambiguous redirect

This error can occur if Java version 8 is not yet installed on the system. 

To resolve this issue: 

  1. Install Java JRE 8
  2. Uninstall the Harris FlexNet license server per the instructions in the Harris Install and Administer Flexera License Server Service on Linux documentation.
  3. Reinstall the license server service.

 


Reviewed by JU (11 Jan 20-17)