Installing Java on your home computer

Windows XP and Windows 7

Download and install the latest JDK:

  1. Go to java.sun.com
  2. In the banner at the top of the page, mouse over "Downloads" and select "Java For Developers"
  3. Look for and click on a "Download" button for Java Platform (JDK).  The current release is 7u40;  if a newer release is available, you should get it.  You do not need JavaFX, NetBeans, or Java EE.
  4. Review and agree to the license agreement, then select your platform and download the installer.  You do not need the Demos and Samples. 
  5. After the download is complete, run the installer, using all of the standard default options.

Put the java jdk in your dos command path:

  1. Right click on the "My Computer" icon on your desktop or in the "Start Menu" and choose "Properties".
  2. Skip this step if you are running Windows XP. Click on "Advanced system settings" on the left "Tasks" bar.
  3. Under the "Advanced" tab click the "Environment Variables" buttons.
  4. Look in the System Variables section and find the Path Variable.
  5. Click edit, and look for "c:\Program Files\Java\bin". If it is there, change it to be "c:\Program Files\Java\jdk1.7.0_40\bin". Otherwise add";c:\Program Files\Java\jdk1.7.0_40\bin" to the end of the list or whatever version you downloaded.  Note: Yes, you need to add the ";" before "c:".

To test your installation:

  1. Open a command prompt by clicking on "Run" in the "Start Menu".
  2. Type in the command "cmd", and press "Ok". This should open a new window.
  3. In the new window, type "javac -version", then press return; you should see your current version at the top of the listing.

Mac OSX

If you are running 10.4, 10.5 or 10.6, then insert your Mac OS X Install Disk 2 into your computer and navigate to "Xcode Tools" then "Packages" and double click on "JavaSDK.pkg" to install Java. You should run Software Updates after this to make sure that Java is up to date.

If you are running Lion (aka 10.7), then you can down load the installer from http://support.apple.com/kb/DL1421

 


Problems?

If you are having trouble installing java on your home computer, please contact Mike Tie;  his extension is x4067, and his office is CMC305.