[jboss-user] [JBoss Getting Started Documentation] - Re: newbie - JBoss

PeterJ do-not-reply at jboss.com
Thu Sep 11 18:44:40 EDT 2008


Note this:

C:\jboss-4.2.2\bin>"C:\Program Files\Java\jdk1.6.0_07\bin\java" -version 2>&1
  | | findstr /I hotspot 1>nul
  | 'findstr' is not recognized as an internal or external command, operable program or batch file. 

You are encountering the findstr problem.  See http://wiki.jboss.org/wiki/FindstrCommandNotFound.

As an alternative, you can comment out the lines in run.bat that use findstr:

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

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

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



More information about the jboss-user mailing list