Installing Java on your home computer
Windows XP and Windows 7
Download and install the latest JDK:
- Go to java.sun.com
- In the banner at the top of the page, mouse over "Downloads" and select "Java For Developers"
- Look for and click on a "Download" button for Java Platform (JDK). The current release is 7u3; if a newer release is available, you should get it. You do not need JavaFX, NetBeans, or Java EE.
- Review and agree to the license agreement, then select your platform and download the installer. You do not need the Demos and Samples.
- After the download is complete, run the installer, using all of the standard default options.
Put the java jdk in your dos command path:
- Right click on the "My Computer" icon on your desktop or in the "Start Menu" and choose "Properties".
- Skip this step if you are running Windows XP. Click on "Advanced system settings" on the left "Tasks" bar.
- Under the "Advanced" tab click the "Environment Variables" buttons.
- Look in the System Variables section and find the Path Variable.
- 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_03\bin". Otherwise add";c:\Program Files\Java\jdk1.7.0_03\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:
- Open a command prompt by clicking on "Run" in the "Start Menu".
- Type in the command "cmd", and press "Ok". This should open a new window.
- In the new window, type "javac -version", then press return; you should see your current version at the top of the listing.
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
If you are having trouble installing java on your home computer, please contact Mike Tie; his extension is x4067, and his office is CMC305.