Set Java Install 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 appears.

  3. In the Advanced tab > Startup and Recovery section, click Environment Variables...
  4. From the System variables section, scroll down to the 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.