I have installed JAVA SE 7,
I have all the environment variables but I dont have any idea how to solve it.
Do you have JBOSS_HOME environment variable set by any chance? It looks like it might be set incorrectly and poiting to the bin directory instead of the parent directory (C:\jboss-as-7.1.1.Final).
Thanks I solved the problem!! , I just deleted the JBOSS_HOME enviroment variable, and just run the script and problem solved...
Thanks for the reply
When you started JBoss the following warning should have been output, do you remember if it was?
WARNING JBOSS_HOME may be pointing to a different installation - unpredictable results may occur.