CS 112
Spring 2019

Old version

This is the CS 112 site as it appeared on May 8, 2019.

Installation instructions for Windows

Installing the JDK

  1. Go to the download page for Java SE Development Kit 8 on the Oracle website. (Important: You need version 8. Version 9 will not work.)
  2. Find the first table of download links (the one for Java SE Development Kit 8u201).
  3. Click on the radio button next to Accept License Agreement.
  4. Find the line for Windows x64 and click on the name of the file to the right of the red arrow on that line. (The file name should end with -x64.exe).
  5. If prompted to do so, choose to save the file.
  6. Depending on your browser, you should either click/doubleclick on the downloaded file or click the Run button provided by your browser. This will start up an installer program. If necessary, give it permission to make changes to your machine.
  7. You should be able to use all of the default settings that the installer gives you by just clicking on the Next button.
  8. Once the installation is complete, click the Finish button.

Installing Eclipse

  1. Go to the download page for Eclipse.
  2. Click the orange button that appears under the heading Get Eclipse IDE.
  3. On the next page, click the orange Download button.
  4. If prompted to do so, choose to save the file.
  5. Double-click or tap the icon for the downloaded file. This will start up an installer program that presents you with a list of options.
  6. In the installer window, click on the first option – the one named Eclipse IDE for Java Developers. (Important: Do not choose the similarly named option that includes the abbreviation EE.)
  7. Click the orange install button. You should be able to use all of the default settings that the installer gives you.
  8. Once the installation is complete, click the green Launch button.
  9. When asked to select a directory as workspace, you can just use the default workspace that the program provides. In addition, we recommend click the checkbox next to Use this as the default and do not ask again. Then click the Launch button.
  10. You may see a Welcome screen with various options. If you have time, we encourage you to try the option labeled Create a Hello World application, which will guide you through the basic steps of using Eclipse for Java. If you don’t have time, simply close the program, and you can try it the next time that you open Eclipse.