add-user.bat on JBoss-as-7.1.1.Final,The system cannot find the path specified

后端 未结 4 1252
终归单人心
终归单人心 2021-01-05 15:30

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

4条回答
  •  长发绾君心
    2021-01-05 16:18

    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
    

提交回复
热议问题