3 Replies Latest reply on Mar 4, 2009 12:53 AM by Pranav Parikh

    Problem starting Jboss

    Pranav Parikh Newbie


      I've used JBoss on Linux but not on Windows. I downloaded the JBoss-4.2.3.GA version on Windows XP. Set up the environment variables but JBoss is not getting started. My environment variables are as follows:

      CLASSPATH = .;C:\Java\jdk1.6.0_12\lib\tools.jar;C:\jboss-4.2.3.GA\bin\run.jar;

      JAVA_HOME = .;C:\Java\jdk1.6.0_12;

      JBOSS_HOME = C:\jboss-4.2.3.GA;

      PATH =.;C:\Java\jdk1.6.0_12\bin;C:\jboss-4.2.3.GA\bin;

      When I click on run.bat or run it from the command prompt, I dont get any output. I checked that the script stops at this point.

      rem Add -server to the JVM options, if supported
      "%JAVA%" -server -version 2>&1 | findstr /I hotspot > nul
      if not errorlevel == 1 (set JAVA_OPTS=%JAVA_OPTS% -server)

      I'm not sure what exactly the problem is. Please let me know if anyone has encountered such problem before. Is there anything wrong with the "findstr"?

      I appreciate inputs.