Core Java for the Impatient
Software Installation Instructions
The Java Development Kit
- Visit https://adoptium.net/
- Select Latest LTS Release
- Windows/Mac OS: The installer will be downloaded. Run it.
- Linux: Uncompress the
.tar.gz
file to a convenient place (such as your home directory or /opt
). Add the bin
subdirectory to your PATH
—see these directions.
- To test your installation, open a terminal window and type
javac -version
You should get a response such as
javac 21.0.15
Note: You can use the book with any Java Development Kit, from Adoptium to Zulu. The JDK from Oracle is fine too for learning, but it has more restrictive licensing conditions for deployment.
Eclipse
- Visit http://www.eclipse.org/downloads
- Select the Eclipse IDE Installer
- Run the installer. (In Linux, you need to uncompress the downloaded file first.)
- Select the Eclipse IDE for Java Developers
- Launch Eclipse.
- Download and unzip the book's companion code in a convenient place.
- In Eclipse, select File → Projects → New Project
- In the project wizard, select Java → Java Projects and click on Next
- In the Project Name field, type Java for the Impatient
- Uncheck the Use the default location checkbox and browse to the
src
subdirectory of the javaimpatient
directory
- Click Finish
Note: Nothing in the book depends on Eclipse. If you prefer, you can use another IDE. Popular choices include