This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
1) It is not java_home it should be JAVA_HOME (case sensitive)
2) Do not install Java or JBoss in a folder containing spaces. You'll run into weird issues. Move the Java installation to some folder without a space in its path name (ex: C:\Java\jdk1.6.0_18) and then set the JAVA_HOME property appropriately.