[jboss-user] JAVA_HOME is not set. Unexpected results may occur.? JBoss
samk at twinix.com
samk at twinix.com
Fri Oct 16 09:57:01 EDT 2009
See Thread at: http://www.techienuggets.com/Detail?tx=45643 Posted on behalf of a User
You must make sure your JAVA_HOME is not in variable enviroment but in system enviroment . The other thing is when you install jdk they say you should difine the directory C:\Program
Files\Java\jdk1.5.0_14\jre\bin you should change that to C:\Program
Files\Java\jdk1.5.0_14
In Response To:
When I install JBoss as windows service, it works fine, but after several test on VPC, I hit this error:
anonymous wrote : Starting JBoss Application Server 5.0 [2008-07-24 04:18:06]
| ECHO is off.
| JAVA_HOME is not set. Unexpected results may occur.
| Set JAVA_HOME to the directory of your local JDK to avoid this message.
| ===============================================================================
|
| JBoss Bootstrap Environment
|
| JBOSS_HOME: C:\jboss-4.2.2.GA
|
| JAVA: java
|
| JAVA_OPTS: -Xrs -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
|
| CLASSPATH: C:\jboss-4.2.2.GA\bin\run.jar
|
| ===============================================================================
|
| Error: no `server' JVM at `C:\Program Files\Java\jre1.5.0_15\bin\server\jvm.dll'.
| Shutdown JBoss Application Server 5.0 service [2008-07-24 04:18:07]
I found this post but nobody answered http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987689#3987689. anyone?
More information about the jboss-user
mailing list