You are probably tripping over this problem:
http://wiki.jboss.org/wiki/Wiki.jsp?page=FindstrCommandNotFound
If you cannot find findstr.exe, then you can safely comment out those two lines:
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=4133013#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...