1 Reply Latest reply on Nov 23, 2016 3:57 AM by Marek Novotny

    UnsupportedClassVersionError

    Wendy Lau Newbie

      Hi all,

       

      I tried to run this command but faced with the unsupportedclassversionerror. Currently, I am using jdk1.7.0_79. Any advise for me?

       

      C:\windup-distribution-3.0.0.Alpha1>bin\windup.bat --source eap:5 --target eap:7

      --input C:\AFService.war

      Using Windup at C:\windup-distribution-3.0.0.Alpha1\bin\..

      Using Java at C:\Program Files\Java\jdk1.7.0_79\

      Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jboss/win

      dup/bootstrap/Bootstrap : Unsupported major.minor version 52.0

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

              at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14

      2)

              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)