Developers Getting Started With i2b2
Space shortcuts
Space Tools

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Setting System Variables on a Windows Machine


The following steps will walk you through adding System Environment Variables to a machine running Windows.


indent
Level1

1. Click on Start button located on your windows taskbar. The start menu will open.


indent
Level3



indent
Level1

2. Right click on My Computer to display a popup menu.


indent
Level3



indent
Level1

3. Select Properties. The Systems window will open displaying basic information about your computer.

indent
Level1

4. Click on the Advanced System Settings link located on the left hand side of the window.


indent
Level3



indent
Level1

5. The Systems Properties window will open to the Advanced tab


indent
Level3



indent
Level1

6. Click on the Environment Variables button to open the Environment Variables window.


indent
Level3



indent
Level1

7. Click on the New button to open the New System Variable window.


indent
Level3



indent
Level1

8. Enter the following for your JAVA_HOME variable


indent
Level4

Variable Name: JAVA_HOME

indent
Level4

Variable value: C:\Program Files\Java\jdk1.7.0_40



Warning
titleWarning
  • The variable value shown above is an example. When adding the JAVA_HOME variable in your environment you need to enter the path for your Java JDK directory.
  • It is extremely important the path is to the JDK location and not to the Java root directory.
  • The same holds true when you add the JBOSS_HOME and ANT_HOME variables in the next steps. The JBOSS_HOME variable needs to have the path for your JBoss directory and the ANT_HOME variable should have the path for your Ant directory.



indent
Level1

9. Click on the OK button to save the new entry and return to the Environment Variables window.

indent
Level1

10. Click on the New button to add your JBOSS_HOME variable.


indent
Level4

Variable Name: JBOSS_HOME

indent
Level4

Variable value: C:\opt\jboss-as-7.1.1.Final



indent
Level1

11. Click on the OK button to save the new entry and return to the Environment Variables window.

indent
Level1

12. Click on the New button to add your ANT_HOME variable.


indent
Level4

Variable Name: ANT_HOME

indent
Level4

Variable value: C:\opt\apache-ant-1.8.2



indent
Level1

13. Click on the OK button to save the new entry and return to the Environment Variables window.

indent
Level1

14. All of the variables you just entered should appear in the list of System Variables.

indent
Level1

15. Close the Environment Variables window, the System Properties window, and the Systems window.