JBoss.org Community Documentation

5.2. Setting the JBOSS_HOME variable in Windows.

  • Create an environment variable called JBOSS_HOME that points to the JBoss Application Server installation directory, for example: C:\Program Files\JBoss\jboss-<release>\.

  • In order to run JBoss Application Server from the command line, add the jboss-<release>\bin directory to your path, for example: C:\Program Files\JBoss\jboss-<release>\bin. To do this, open the Control Panel from the Start Menu, switch to Classic View if necessary, open the System Control Panel applet, select the Advanced Tab, and click on the Environment Variables button.

You are now ready to start the JBoss Application Server.