NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Search this chapter:

Page Tree Search

This page includes the following topics:

...

  • In a Linux environment, unzip the Java SE Development Kit 7 8 under the command line; for example:
     tar zxvf jdk-8u101-linux-x64.tar.gz
  • In a Windows environment, click jdk-8u101-windows-x64.exe to install Java SDK 8.
  • After extracting the zip, you must set the environment variables, described in the following section, so that Java is available in the system PATH.

...

  1. In Windows, select Control Panel, then select the Systems application. In the Systems window, select the Advanced tab.
  2. On the Advanced tab, select the Environment Variables button. To add a new system variable, select the New button.
    The Edit User Variable dialog box with the Java home variable.Image Modified
      
    1. In the Variable name text box, enter JAVA_HOME.
    2. In the Variable value text box, enter the location of your Java installation, (for example C:\ProgramFiles\Java\jdk1.8.0_101) |
  3. Select the PATH system environment variable, and select the Edit button. This opens the Edit User Variable dialog box, displayed here as an example. 

     Edit System Variable dialog box, described in text
  4. In the Variable value text box, prepend the following text in front of the text that already exists in the Variable Value field and click OK.

    Code Block
    %JAVA_HOME%\bin;

...

  1. In Windows, select Control Panel, then select the Systems application. In the Systems window, select the Advanced tab.
  2. On the Advanced tab, select the Environment Variables button. To add a new system variable, select the New button.
    The Edit User Variable dialog box with the Ant home variable.Image Modified
    1. In the Variable name  text box, enter ANT_HOME.
    2. In the Variable value text box, enter the location of your Ant installation, (for example,  C:\ProgramFiles\apache-ant-1.8.4) .
  3. Select the PATH system environment variable, and select the Edit button. This opens the Edit User Variable dialog box, displayed here as an example. 

     Edit System Variable dialog box, described in text
  4. In the Variable value text box, prepend the following text in front of the text that already exists in the Variable Value field and click OK.
    %ANT_HOME%\bin;

...