Set Java Installation Path

  1. Right-click the My Computer (or Computer) icon, and from the drop-down menu select Properties.
  2. From the left-pane, select Advanced system settings.

    The System Properties dialog box with Advanced tab appears.

  3. In the Startup and Recovery section, click Environment Variables.
  4. From the System variables section, scroll-down to Path variable, and double-click.

    The Edit System Variable dialog box appears.

  5. In the Variable value: field, enter the location where Java will be installed, and end it with a semi-colon (;).
  6. Click OK to close the Edit System Variable dialog box.
  7. Click OK to close the System Properties dialog box.