JAVA_HOME and PATH variables are required for
the operating system to find the required Java programs and utilities.
Before you begin
Ensure that the required Java version is installed on all nodes in your topology.
If Java is not installed on your install system, refer to the appropriate documentation to
install Java before setting JAVA_HOME and PATH. For
example, to install IBM JDK (Windows or Linux), see the IBM JDK online documentation.
Procedure
To set Java variables on Windows, complete the following steps:
-
Download or save the appropriate JDK version for Windows.
Important: You can download the JDK from Passport Advantage or Fix Central or save it
from the disk.
-
Right-click the Computer icon on your desktop and select
Properties.
Important: Names of some icons may vary based on your Windows version.
-
Click Advanced system settings.
-
Click Environment variables.
-
Under User variables, click New.
-
Enter JAVA_HOME as the variable name.
Attention: When you add the bin directory for the IBM JDK to the
PATH environment variable, ensure that you add it before any other directory
currently listed in the PATH value that might have a Java executable. Also, if
the directory that you are adding to the PATH or setting as
JAVA_HOME has a space in the path, either contain the path in quotes or escape
the space by preceding the path with \.
-
Enter the path to the JDK as the variable value. For example, C:\Program Files
(x86)\IBM\Java70\.
-
Click OK.
-
Locate the PATH variable.
-
Append the path to the JDK (up to the bin folder) as the
PATH value. For example, C:\Program Files
(x86)\IBM\Java70\bin.
Important: Use a semicolon to separate the JDK path from the other paths that are
defined.
-
Repeat the same for System variables.
-
Click OK.