13 Replies Latest reply on Jul 26, 2008 2:08 AM by gan.gary

    JAVA_HOME is not set.  Unexpected results may occur.? JBoss

    gan.gary Novice

      When I install JBoss as windows service, it works fine, but after several test on VPC, I hit this error:

      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?