1 Reply Latest reply on Jan 21, 2007 4:34 PM by slaboure

    Never had this problem..please help

      JBoss Server : 4.0.3 SP1
      JDK : 1.5
      OS : Windows Server 2003

      I an trying to get JBoss to run on a Winodows Server 2003 box. When I try and start it up using run.bat, I get this...

      C:\jboss-4.0.3SP1\bin>run.bat
      \Java\jdk1.5.0_09\lib\tools.jar was unexpected at this time.
      


      There are 2 Program Files folders. One is Program Files and the other is Program Files (x86).

      When I install java (used the standard windows offline exe), it places the Java folder under the (x86) Program folder....

      I set my CLASSPATH, JAVA_HOME, and JBOSS_HOME...

      What is wrong?

      Thanks

      Indy

        • 1. Re: Never had this problem..please help
          slaboure

          By any chance, are you using a 64 bits windows machine?

          in that case, the run.bat script is colliding with the program files(x86) right parenthesis in an "if" clause. Quick fix: use the 8.3 short name when setting JAVA_HOME and not the long name which has the parenthesis.

          Also, on some systems it might be necessary to disable the server hostpot JVM and rely on the client one.

          cheers,


          sacha