Announcement Announcement Module
Collapse
No announcement yet.
UnsupportedClassVersionError for M1 of ROO Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • UnsupportedClassVersionError for M1 of ROO

    Hi,

    I tried ROO but after dezipping, when i launch the command roo, i got this error :

    Exception in thread "main" java.lang.UnsupportedClassVersionError: org/springframework/roo/bootstrap/Bootstrap (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknow n Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)


    I follow the directives for the installation (Path variable, no ROO_HOME), it's quite an odd error.

    Anyone got a hint ?

    Thanks

    Best regards

  • #2
    hi...it looks like you're using the wrong jdk version. roo requires 1.6.

    thanks

    Comment


    • #3
      Hi,
      thank you, i didn't see i had an old sdk in the Path. It works now

      Thanks again

      Best regards

      Comment


      • #4
        Hi,

        small clarification: Roo requires Java 5 (Class Version 49.0).

        I assume that you were trying to run Roo with a Java 1.4 JDK.

        Christian

        Comment


        • #5
          It even was a 1.3 sdk which was in the path. But now it works perfectly with a 1.6 sdk

          Comment

          Working...
          X