3 Replies Latest reply on May 24, 2005 12:12 PM by vincent larocca

    Couldn't start JBoss from the 4.0.2 version zip file

    vincent larocca Newbie

      Hi,
      I'm a newbee here so please be kind :). I downloaded the latest version of JBoss 4.0.2 from the download site. I unzipped it to my machine to a directory C:\JBOSS2. This is a WIN2000 machine. From the command prompt, went to the jboss\jboss-4.0.2\bin directory and ran the run.bat file.

      The result of running the run.bat file seems to be a Java Exception in thread "main" java.lang.UnsupportedClassVersionError.

      Here are the results:

      C:\JBOSS2\jboss-4.0.2\bin>path
      PATH=C:\Oracle8i\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\IBM Connectors\Encina\bin;;C:\Program Files\Reflection;C:\WINNT\sy
      em32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRAM FILES\THINKPAD\UTILITIES;C:\WINNT\system32\nls;C:\WINNT\system32\nls\English;.;.
      lib;C:\ORANT\BIN;c:\weblogic\wlserver6.1\bin;c:\weblogic\wlserver6.1;C:\jdk1.3.1_06\bin

      C:\JBOSS2\jboss-4.0.2\bin>run
      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: C:\JBOSS2\jboss-4.0.2
      .
      JAVA: C:\bea\jdk131_10\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
      .
      CLASSPATH: C:\bea\jdk131_10\lib\tools.jar;C:\JBOSS2\jboss-4.0.2\bin\run.jar
      .
      ===============================================================================
      .
      "C:\bea\jdk131_10\bin\java" -Dprogram.name=run.bat -Xms128m -Xmx512m "-Djava.endorsed.dirs=C:\JBOSS2\jboss-4.0.2\lib\endorsed"
      lasspath "C:\bea\jdk131_10\lib\tools.jar;C:\JBOSS2\jboss-4.0.2\bin\run.jar" org.jboss.Main
      Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jboss/Main (Unsupported major.minor version 48.0)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
      Press any key to continue . . .


      Thanks for looking any help would be greatly appreciated.

      V