beautypg.com

5 setting system environment variables, Setting system environment variables -2 – Echelon i.LON SmartServer 2.0 User Manual

Page 407

background image

i.LON SmartServer 2.0 Programmer’s Reference

22-2

2. Download the Maven 2.2.1 .zip file.

3. Browse to the C:\eclipse\eclipse 3.5\ilon.ws.clients folder, and then create a new folder named tools.

4. Extract the .zip file to the C:\eclipse\eclipse 3.5\ilon.ws.clients\tools folder.

22.1.5

Setting System Environment Variables

To add environment variables for the JDK and Maven 2.2.1, follow these steps:

1. Open the System Properties dialog for your computer. To access this dialog, open the Windows

Control Panel, and then click System. Alternatively, you can right-click the MyComputer or
Computer icon on you desktop and click Properties.

2. In the System Properties dialog, click Advanced System Settings or Advanced, and then click

the Environment Variables tab.

3. Create the system environment variables for the JDK following these steps:

a. Under System Variables, click New, enter JAVA_HOME in the Variable Name property,

enter C:\Sun\SDK\jdk in the Variable Value property, and then click OK.

b. Under System variables, click Path, and then click Edit. Prepend the following variables to

the Variable Value property (these entries should be listed first):

;%JAVA_HOME%\jre\bin;C:\Sun\SDK\bin;

Note: Delete any other JAVA entries if they are listed (for example, jre-).

4. Create the system environment variables for Maven 2.2.1 following these steps:

a. Under System variables, click New, enter M2_HOME in the Variable Name property, enter

C:\eclipse\eclipse 3.5\ilon.ws.clients\tools\apache-maven-2.2.1 in the Variable Value
property, and then click OK.

b. Under System Variables, click Path, and then click Edit. Append the following variables to

the Variable Value property:

;%M2_HOME%\bin;%MAVEN_PATH%\bin;