[jboss-user] [Beginners Corner] - Error while startup for JBoss 5.0.0 Beta2

mitanjos do-not-reply at jboss.com
Wed Jun 27 08:29:07 EDT 2007


I have out of box jBoss 5.0.0 Beta2 installation. My Java home is set to JDK 1.4
While starting the jboss instance i am detting following error.
D:\jBossInstances\jboss-5.0.0.Beta2\bin>run
  | ===============================================================================
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: D:\jBossInstances\jboss-5.0.0.Beta2
  | 
  |   JAVA: C:\j2sdk1.4.2_03\bin\java
  | 
  |   JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -
  | 
  |   CLASSPATH: C:\j2sdk1.4.2_03\lib\tools.jar;D:\jBossInstances\jboss-5.0.0.Beta2\bin\run.jar
  | 
  | ===============================================================================
  | 
  | Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jboss/Main (Unsupported major.minor version 49.0)
  |         at java.lang.ClassLoader.defineClass0(Native Method)
  |         at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
  |         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
  |         at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
  |         at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
  |         at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
  |         at java.security.AccessController.doPrivileged(Native Method)
  |         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
  |         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
  |         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
  |         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
  |         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
  | Press any key to continue . . .

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058130#4058130

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058130



More information about the jboss-user mailing list