-
1. Re: Total Newbie Needs Help
dpansica Aug 8, 2006 4:29 AM (in response to cagri)It seems that it is trying to use tha jvm of your oracle distribution, take a look at the environment variable JAVA_HOME and modify to point to the jdk you downloaded.
-
2. Re: Total Newbie Needs Help
cagri Aug 8, 2006 4:40 AM (in response to cagri)C:\Program Files\jboss-4.0.4.GA\bin>RUN
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\Program Files\jboss-4.0.4.GA\bin\\..
.
JAVA: java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn
terval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
.
CLASSPATH: C:\Program Files\Java\jdk1.5.0_07\lib\tools.jar;C:\Program Files\jb
oss-4.0.4.GA\bin\\run.jar
.
===============================================================================
.
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jboss/Mai
n (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown 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 sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Press any key to continue . . .
Still the same problem:( -
3. Re: Total Newbie Needs Help
visolvejboss Aug 8, 2006 4:51 AM (in response to cagri)Hello,
Have a look at the JAVA variable in the your output log.
It seems that, JBoss unable to find the java binary. Specify the correct path of java binary in the PATH variable or modify the JAVA variable in run.conf to point to the java binary. -
4. Re: Total Newbie Needs Help
dpansica Aug 8, 2006 4:53 AM (in response to cagri)I see the same problem,
JBOSS_HOME: C:\Program Files\jboss-4.0.4.GA\bin\\..
.
JAVA: java
.
JAVA_OPTS: -Dprogr
you have to set the JAVA_HOME variable to the correct path
for example
set JAVA_HOME=path to your jdk and then run