Set System Environment Variables
In order to ease the installation process we recommend you set the following environment variables. The commands given throughout the document are based on the following environment variables defined on your machine.
Panel |
---|
borderColor | #ccc |
---|
bgColor | #ffffff |
---|
titleBGColor | #E5DFEC |
---|
borderStyle | solid |
---|
title | Environment Variables |
---|
|
indent |
---|
| JAVA_HOME=the location of your Java JDK directory |
indent |
---|
| JBOSS_HOME=the location of your Wildfly directory |
indent |
---|
| ANT_HOME=the location of your Ant directory |
indent |
---|
| PATH=add the path for your Java's bin folder and Ant bin folder. |
indent |
---|
| export Your Java, Wildfly and Ant Home Directories |
|
Info |
---|
|
Changes to the system PATH variable are not necessary for servers running Windows. JAVA_HOME, JBOSS_HOME and ANT_HOME still need to be set. Also the need to export the new variables is only required on Linux machines; it is not applicable to Windows. |
Example Settings for Linux Machine
Panel |
---|
borderColor | #ccc |
---|
bgColor | #ffffff |
---|
titleBGColor | #E5DFEC |
---|
borderStyle | solid |
---|
title | Environment Variables |
---|
|
indent |
---|
| JAVA_HOME=/usr/java/default |
indent |
---|
| JBOSS_HOME=/opt/wildfly-17.0.0.Final |
indent |
---|
| ANT_HOME=/opt/apache-ant-1.9.6 |
indent |
---|
| PATH=$PATH:$ANT_HOME/bin:$JAVA_HOME/bin |
|
Please proceed to the section called Set Variables on Linux Machine if you are unfamiliar with how to set the above system variables on your Linux server.
Example Settings for Windows Server
Panel |
---|
borderColor | #ccc |
---|
bgColor | #ffffff |
---|
titleBGColor | #E5DFEC |
---|
borderStyle | solid |
---|
title | Environment Variables |
---|
|
indent |
---|
| JAVA_HOME=C:\Program Files\Java\jdk1.8.0_121 |
indent |
---|
| JBOSS_HOME=c:\opt\wildfly-17.0.0.Final |
indent |
---|
| ANT_HOME=c:\opt\apache-ant-1.9.6 |
indent |
---|
| PATH=%PATH:%ANT_HOME\bin:%JAVA_HOME\bin |
|
Please proceed to the section called Set Variables on Windows Machine if you are unfamiliar with how to set the above system variables on your Windows server.