[jboss-user] [Beginners Corner] - Re: Why I can't start JBOSS 4.2.2GA?

jaikiran do-not-reply at jboss.com
Wed Nov 14 08:25:03 EST 2007


"jackhexy" wrote : Thank you.I executed "echo %JAVA_HOME",The message is "C:\OtherSoft\Java\jdk1.6.0_03".

At this point everything looks ok to me, assuming that C:\OtherSoft\Java\jdk1.6.0_03 is the folder where Java is installed. When you get this error what else do you see on the console? Do you see something like:
  | 
  | ===============================================================================
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: D:\JBoss4.2.1\jboss-4.2.1.GA
  | 
  |   JAVA: c:\jdk1.5.0_07\bin\java
  | 
  |   JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.cli
  | ent.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
  | 
  |   CLASSPATH: c:\jdk1.5.0_07\lib\tools.jar;D:\JBoss4.2.1\jboss-4.2.1.GA\bin\run.j
  | ar
  | 
  | ===============================================================================

If you see such logs or any other logs along with this exception can you post all that here? Hopefully these messages are in english, i don't understand chinese :-)

Also, could you try the following from the command prompt:

- First set JAVA_HOME to C:\OtherSoft\Java\jdk1.6.0_03

set JAVA_HOME=C:\OtherSoft\Java\jdk1.6.0_03

- Then set JAVA as follows:

set JAVA=%JAVA_HOME%\bin\java

- Then run the following command

"%JAVA%" -version

Post the output of this command here.


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

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



More information about the jboss-user mailing list