After installing the JDK, you must set environment variables to ensure the P6 EPPM installation scripts can locate your Java libraries
To set Java environment variables:
JAVA_HOME
PATH
Setting the Environment Variables in Microsoft Windows
To set the JAVA_HOME
and PATH
environment variables in Microsoft Windows:
- Click Start, Control Panel, System, and then Advanced system settings.
- In the System Properties dialog box, on the Advanced tab, click Environment Variables.
- Add the
JAVA_HOME
environment variable:- In the System Variables section, click New.
- In the Variable name field, enter
JAVA_HOME
. - In the Variable value field, enter the location where the JDK software is installed (for example,
C:\Program Files\Java\
<java_version>) - Click OK.
- Update the PATH environment variable to include the location of the Java executable files:
- In the System Variables section, select the PATH variable, and click Edit.
- In the Variable value field, insert
%JAVA_HOME%\bin;
in front of all the existing directories. Do not delete any existing entries; otherwise, some existing applications may not run. - Click OK.
- Exit the Control Panel.
Setting the Environment Variables with Unix or Linux
To set the JAVA_HOME
and PATH
environment variables with Unix or Linux:
- Set the
JAVA_HOME
environment variable by typing the following command:export JAVA_HOME=
<JDK_installation_path> - Set the PATH environment variable by typing the following command:
export PATH=$PATH:$JAVA_HOME/bin