Core Java for the Impatient

Cay Horstmann

Software Installation Instructions

The Java Development Kit

  1. Visit
  2. Select Java SE from the “Top Downloads” section
  3. In the downloads page, pick the JDK download
  4. Accept the license agreement
  5. Click on the download link for your operating system.
  6. Download and install.
  7. To test your installation, open a terminal window and type
    javac -version
    You should get a response such as
    javac 1.9.0_31
    If so, congratulations. If not, chances are that you installed the JRE and not the JDK, or that you didn't set the PATH correctly.


  1. Visit
  2. Select the Eclipse IDE for Java Developers
  3. Download and unzip into a convenient place (such as your home directory, Program Files, Applications, /opt, ...)
  4. Find the eclipse program in the folder that you just downloaded and run it.
  5. Download and unzip the book's companion code in a convenient place.
  6. In Eclipse, select File → Projects → New Project
  7. In the project wizard, select Java → Java Projects and click on Next
  8. In the Project Name field, type Java for the Impatient
  9. Uncheck the Use the default location checkbox and browse to the src subdirectory of the javaimpatient directory
  10. Click Finish

Note: Nothing in the book depends on Eclipse. If you prefer, you can use another IDE. Popular choices include