I am having issues with my PATH variable. I have installed JBOSS-AS in the version 7.1.1 Final and set the environment variable (hope it's the correct term, since my OS is in German) JBOSS_HOME to the path I installed it to: C:\Program Files\jboss-as-7.1.1.Final.
Then I added %JBOSS_HOME%\bin; to the PATH system variable.
After restarting the cmd I could call everything in that bin folder (mostly *.bat-files) by it's name without naming the full path leading to it. So that went well. But then I rebooted my PC and it didn't work anymore. I had to go to the environment variables, select PATH, edit... and klick OK (without changing anything) to make the
cmd recognize it again.
Odd thing is, that echo %JBOSS_HOME% returns the correct path and echo %PATH% returns:
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Python27;C:\Program Files\nodejs\;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\cmd;%JAVA_HOME%\bin;%M2_HOME%\bin;%JBOSS_HOME%\bin;C:\Program Files (x86)\Notepad++;C:\Users\Markus\AppData\Roaming\npm
Any Idea what is happening here?