Link to the DIT Home Page

Dublin Institute of Technology, School of Computing
Ciarán O'Leary

  Home -> Teaching -> DT249-4 Distributed Systems -> Setting up Java
  To install Java on your home PC follow the steps below. If you have any difficulties please feel free to e-mail me.
  1. Download the JDK 6 Update 7 from here.
  2. On the next page, select "Accept License Agreement", and then download
  •  Windows Offline Installation (build 06), Multi-language
  1. When the installation tool is downloaded, run it selecting every option it presents you with.
  2. When complete Java should be installed at C:\Program Files\Java\jdk1.6.0_07. The java and javac tools will be in C:\Program Files\Java\jdk1.6.0_07\bin.
  3. You will need to set the PATH environment variable to point to the bin directory.
  • To do so on Windows 2000, select Start -> Settings -> Control Panel -> System -> Advanced -> Environment Variables.
  • Then under System Variables select Path and append the following to the end of the Variable Value - a semi colon, then C:\Program Files\Java\jdk1.6.0_07\bin.
  • On Windows XP select Start -> Control Panel -> (Switch to Classic View) -> System -> Advanced -> Environment Variables, and set the path as described in the previous point.
  • On Windows 98 you will need to edit the file named c:\autoexec.bat. When you open the file (in notepad or wherever) just append the following line to the end of the file
    • set PATH=%PATH%;C:\Program Files\Java\jdk1.6.0_07\bin

    You should then reboot your system (if Windows 98), or close all your command prompt windows (Windows 2000, Windows XP).

Hit Counter  [Home][School of Computing][Dublin Institute of Technology]