---
title: Overview
description: "# 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. **Environment Variables** JAVA_HOME=the…"
url: "https://i2b2.org/docs/2-4-5-system-environment-variables/"
updated: "2026-09-15"
category: i2b2 Installation Guide / Chapter 2. Requirements / 2.4 i2b2 Server Requirements / 2.4.5 System Environment Variables
---

# Overview

#

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.

  **Environment Variables**

JAVA_HOME=the location of your Java JDK directory

JBOSS_HOME=the location of your Wildfly directory

ANT_HOME=the location of your Ant directory

PATH=add the path for your Java's bin folder and Ant bin folder.

export Your Java, Wildfly and Ant Home Directories

Note

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

  **Environment Variables**

JAVA_HOME=/usr/java/default

JBOSS_HOME=/opt/wildfly-17.0.0.Final

ANT_HOME=/opt/apache-ant-1.9.6

PATH=$PATH:$ANT_HOME/bin:$JAVA_HOME/bin

export JAVA_HOME

export JBOSS_HOME

export ANT_HOME

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

  **Environment Variables**

JAVA_HOME=*C:\Program Files\Java\jdk1.8.0_121*

JBOSS_HOME=c:\opt\wildfly-17.0.0.Final

ANT_HOME=c:\opt\apache-ant-1.9.6

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.
