Share this page

# Verifying that the JAVA_HOME Environment Variable Is Set

OpenText PPM requires that you set JAVA_HOME in the system environment of the user account to be used to start the PPM Server. It is important that the JAVA_HOME environment variable be set for the same shell and user who runs the installation.

Caution: Make sure that the value specified for JAVA_HOME contains no spaces.

### Determine the JAVA_HOME value in DOS

To determine the JAVA_HOME value in DOS, at the command line, type `echo %JAVA_HOME%.`

### Determine the JAVA_HOME value in UNIX

To determine the JAVA_HOME value in a UNIX shell (SH, BASH, or KSH), at the UNIX prompt, type `echo $JAVA_HOME.`

### Set the JAVA_HOMEvalue in Windows

The steps described in the following procedure are for Windows 7. The exact steps may differ, depending on your Windows operating system.

1. Open the Control Panel.

2. Open the System window.

3. Click Advanced system settingsin the navigation pane.

   The System Properties dialog box opens.

4. Click Environment Variables on the Advanced tab.

5. Under System Variables, click New.

   The New System Variable dialog box opens.

6. In the Variable name box, type `JAVA_HOME.`

7. In the Variable Value box, type the full Java install directory path, and click OK.

8. Locate the Path variable under System Variables, click Edit.

   The Edit System Variable dialog box opens.

9. In the Variable Value box, add `%JAVA_HOME%\bin` to the existing value and click OK.

### Sete the JAVA_HOME value in Cygwin

1. Add the the JAVA_HOME parameter to System Variables.

   For detailed instruction, see Setting the JAVA_HOME Value in Windows section above.

2. (Optional, but recommended) Set the `.bash_profile` file.

   1. Open the `<Cygwin_HOME>/.bash_profile` file in a text editor.

   2. Add the following to the end of the file:

          export JAVA_HOME=/cygdrive/<Drive_Letter>/<JDK_HOME>

          export PATH=$JAVA_HOME/bin:$PATH

   3. Save the `.bash_profile` file and quit.

### Set the JAVA_HOME value in DOS

To set the value of JAVA_HOME in DOS, run the following:

`set JAVA_HOME=<JDK_Install_Directory>`

### Set the JAVA_HOME value in UNIX

To set the value of `JAVA_HOME` in UNIX using the Bourne shell (SH, BASH, or KSH), run the following:

    JAVA_HOME=<JDK_Install_Directory>; export JAVA_HOME

https://admhelp.microfocus.com PPM 8942
Tips to improve your search results... OpenText™ Project and Portfolio Management Help Center PPM Help 26.2-26.3 All View Local Help Center View Online Help Center Version: