"jackhexy" wrote : If I only executed ""%JAVA%" -version 2>&1 | findstr /I 
hotspot > nul" that in run.bat ,DOS  prompted "system can't find the specified 
file" as above.
  | So,I think that there are problems in this place.
  | What about you?

Thats right. Its evident that the problem happens on this specific line. In the 
past week, there have been a couple of posts where similar issue was observed 
which resulted in the run.bat file terminating without any messages. The cause 
for that behaviour was turned out to be JAVA_HOME value not being properly set. 
In your case though the JAVA_HOME value and the output of %JAVA% -version look 
good. So that does not seem to be the issue.

The second reason why this line might fail is related to 'findstr' not being in 
the PATH env variable (the link that i posted in my first reply 
http://wiki.jboss.org/wiki/Wiki.jsp?page=FindstrCommandNotFound ). Are you sure 
the 'findstr' is be on the PATH. You can find it under  windows\system32 folder 
on your system. If you dont have it in the PATH then you will have to add it as 
follows(just an example):

set PATH=%PATH%;C:\windows\system32 

Other than this at this point, i dont see any other reason why this should 
fail. I havent yet installed JBoss4.2.2 (i have 4.2.1) nor do i have JDK1.6, 
but i dont see anything that might have changed in 4.2.2 which might be causing 
this issue.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104619
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to