Appendix D. Using the Java Development Kit

In addition to the integrated development environment NetBeans, Oracle offers the Java Development Kit (JDK), a free set of command-line programs that are used to create, compile, and run Java programs. Every new release of Java is accompanied by a new release of the development kit. The current version is JDK version 8.

Although NetBeans and other programs such as IntelliJ IDEA and Eclipse are more sophisticated, some programmers continue to use the Java Development Kit. This appendix covers how to download and install the Java Development Kit, set it up on your computer, and use it to create, compile, and run a simple Java program.

It also describes how to fix a common configuration problem faced by ...

Get Sams Teach Yourself Java™ in 21 Days (Covering Java 8), Seventh Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.