i\'ve installed jboss-as-7.1.1.Final on my windows 7. the installation was successfull, and i can see the server running on http:/localhost:8080/
But the problem is
The one word solution:
set your java home value excluding bin folder like JAVA_HOME="C:\Program Files\java\jdk1.7"
Use the java home in path section of system variable like ...;%JAVA_HOME\bin%
Set the jboss home path like JBOSS_HOME="C:\jboss-as-7.1"
the reason behind this is your add-user.bat file need correct path for java home and jboss home.
Add below lines for user variables:
variable = JAVA_HOME value= C:\Program Files\Java\jdk1.7.0_79
variable = JBOSS_HOME value= E:\anil\jboss-as-7.1.1.Final
variable=path value= C:\Windows\System32;%JAVA_HOME%\bin;%JBOSS_HOME%
You will probably need to add JAVA_HOME/bin to your PATH.
You've set your JAVA_HOME
variable wrong. You've set it to
JAVA_HOME=C:\java\jre7\bin
whereas you want it without the bin directory, i.e. just
JAVA_HOME=C:\java\jre7
However it's my recollection that JBoss needs a JDK, not a JRE. If that works, great; if not, you'll need to download an install a JDK instead and when you've installed that, set JAVA_HOME to the root path of the JDK install, e.g.
JAVA_HOME=C:\java\jdk1.7.0_25