To get the latest version of the JDK, go to the
Oracle web site. Oracle keeps changing the
layout of its web site and the details of its terminology, but the following instructions
are correct as of January 2016.
- Under "Top Downloads", pick "Java SE". (SE stands
for "Standard Edition")
- Under "Java Platform, Standard Edition" click "download" under "JDK".
- Check "accept license agreement" and click on the download for your platform (Windows/Linux/Mac)
- Run the installer and follow the instructions.
- I suggest
accepting the default choices about which components to install. But if your
computer is tight on space, the two essential components to select are the "Development Tools"
and the "Public JRE".
Important: Remember the folder into which you have installed your JDK (or where
you found an existing one). I refer to this in other instructions as your "JDK installation folder".
Note about Versions: If you have an older JDK on your computer, it may not be necessary
to install a later one. If you're taking a Queen's course, check your course web page or
ask your instructor which versions of Java you may use for your assignments.