Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-9241

OpenIDM doesn't start with OpenJDK 1.7 - UnsupportedClassVersionError

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • OpenIDM 5.5.0, OpenIDM 6.0.0
    • OpenIDM 5.5.0
    • None
    • OpenJDK 1.7.0_151, OpenIDM 5.5.0-RC4, OpenIDM 6.0.0-SNAPSHOT, Ubuntu 14.04

    Description

      OpenIDM have startup issues with OpenJDK 1.7 with exception UnsupportedClassVersionError.
      Affected versions are 5.5.0-RC4 and 6.0.0-SNAPSHOT (version 5.0.0 is working correctly)

      # ./startup.sh 
      Executing ./startup.sh...
      Using OPENIDM_HOME:   /home/soge/pyforge/archives/openidm
      Using PROJECT_HOME:   /home/soge/pyforge/archives/openidm
      Using OPENIDM_OPTS:   -Xmx1024m -Xms1024m
      Using LOGGING_CONFIG: -Djava.util.logging.config.file=/home/soge/pyforge/archives/openidm/conf/logging.properties
      Exception in thread "main" java.lang.UnsupportedClassVersionError: org/forgerock/openidm/launcher/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:442)
      	at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      

      {

      Attachments

        Activity

          People

            jbranch Jon Branch [X] (Inactive)
            michal.orlik@profiq.cz Michal Orlik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: