2 Replies Latest reply on Jun 30, 2003 2:04 PM by kristoltaylor

    UnsupportedClassVersionError

    kristoltaylor Newbie

      I apologize in advance if this is a complete retard question but...

      I'm a little confused with all the versioning and what's included/not included. Do you need to install ant & j2ee in order to run jboss? I download jboss3.2.1. Set java_home. When I run bin/run.bat I get the following error (below). I'm not sure which class is unsupported. I'm using jdk v.1.2.2.

      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: C:\jboss\bin\\..
      .
      JAVA: C:\jdk1.2.2\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat
      .
      CLASSPATH: ;C:\jdk1.2.2\lib\tools.jar;C:\jboss\bin\\run.jar
      .
      ===============================================================================
      .
      java.lang.UnsupportedClassVersionError: javax/management/NotificationBroadcaster
      Support (Unsupported major.minor version 47.0)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:471)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
      3)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:242)
      at java.net.URLClassLoader.access$1(URLClassLoader.java:210)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:191)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:185)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:249)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:308)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:471)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
      3)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:242)
      at java.net.URLClassLoader.access$1(URLClassLoader.java:210)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:191)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:185)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:249)
      at org.jboss.system.server.ServerLoader.createServer(ServerLoader.java:2
      41)
      at org.jboss.system.server.ServerLoader.load(ServerLoader.java, Compiled
      Code)
      at org.jboss.Main.boot(Main.java, Compiled Code)
      at org.jboss.Main$1.run(Main.java:388)
      at java.lang.Thread.run(Thread.java:479)
      Press any key to continue . . .