HP Integrity NonStop J-Series User Manual

Page 24

Advertising
background image

3.

Click Environment Variables.

A list of environment variables appears.

4.

If the PATH and JAVA_HOME variables are listed in the User Variables dialog box, verify that:

The PATH variable includes the bin directory of <Java Installation Directory>.

The JAVA_HOME variable is set to <Java Installation Directory>.

If the PATH and JAVA_HOME variables exist, but do not contain the respective directories, do
the following:
1.

Add <Java Installation Directory>\bin to PATH, separated by a semicolon,
and <Java Installation Directory> to JAVA_HOME.

For example: Add C:\Program Files\Java\jdk1.6.0_03\bin to the PATH variable
and C:\Program Files\Java\jdk1.6.0_03 to the JAVA_HOME variable.

2.

Click OK.

3.

Click Apply Changes.

If the PATH and JAVA_HOME variables do not exist, follow these steps:
1.

Click New in the User Variables dialog box.

2.

Enter the variable name as PATH and variable value as <Java Installation
Directory
>\bin.

3.

Enter the variable name as JAVA_HOME and variable value as <Java Installation
Directory
>.

For example: Enter C:\Program Files\Java\jdk1.6.0_03\bin as the value of
PATH

and C:\Program Files\Java\jdk1.6.0_03 as the value of JAVA_HOME.

4.

Click OK.

5.

Click Apply Changes.

If you do not have JDK installed on your Windows system, download it from

http://

java.sun.com/javase/downloads/index.jsp

and set the PATH and JAVA_HOME variables as

described above.

NOTE:

All applications have been verified using JDK version 1.6.

Ant

You must have Ant version 1.7.0 or later installed on the Windows system.

If you already have Ant installed, check its version using the command:

command prompt> ant -version

Apache Ant version 1.7.0 RC1 compiled on November 5 2006

The version of Ant must be 1.7.0 or later.

If the ant -version command returns the following error, set the PATH and ANT_HOME variables:

'ant' is not recognized as an internal or external command,
operable program or batch file.

To set the variables:
1.

Right-click My Computer on your desktop and select Properties.

The System Properties window appears.

2.

Click the Advanced tab.

3.

Click Environment Variables.

A list of environment variables appears.

24

Introduction

Advertising
This manual is related to the following products: