I am a newbie to JBOSS. Today i have downloaded jboss-as-7.1.1.Final.zip from the Downloads section and as per the instructions provided ensured the JAVA path and Maven path are working fine. Post that when i am trying to run the standalone.bat as suggested in the documentation, it is giving the following issue.
Error: "findstr" is not recognized as internal or external command, operable program or batch file.
Operating System: WINDOWS 7 (64bit)
Paths provided in the environment variables.
CLASSPATH = C:\Program Files\Java\jdk1.7.0_03\jre\lib;
JAVA_HOME = C:\Program Files\Java\jdk1.7.0_03
M2 = %M2_HOME%\bin;
M2_HOME = C:\Program Files\Apache Software Foundation\apache-maven-3.0.4
PATH = C:\Program Files\Java\jdk1.7.0_03\bin;%M2%;%JAVA_HOME%;%PATH%
I didnt set any path for the JBOSS server. Can any one suggest me what should i do to overcome this issue and start the server.
JBOSS Issue.png 43.5 K
This discusssion might help:
Note that it is about the run.bat found in prior versions of the JBoss AS, but the suggestions given apply just as well to standalone.bat.
Thanks for your response. My issue is resolved now and i am able to start the server with out any issue.
But i need a suggestion, currently my java is installed in C:\Program Files\Java , as per the link provided it is recommended to keep java in the folder without any spaces. Can you tell me should i go with the current configuration or should i move my java installation to the folder as suggested.
Thanks and Regards