Obtaining the Java Development Kit

Now that the theoretical underpinning of Java has been explained, it is time to start writing Java programs. Before you can compile and run those programs, however, you must have the Java Development Kit (JDK) installed on your computer. The JDK is available free of charge from Oracle. At the time of this writing, the current release of the JDK is JDK 7. This is the version used by Java SE 7. (SE stands for Standard Edition.) Because JDK 7 contains many new features that are not supported by earlier versions of Java, it is necessary to use JDK 7 (or later) to compile and run the programs in this book.

The JDK can be downloaded from www.oracle.com/technetwork/java/javase/downloads/index.html . Just go to the ...

Get Java, A Beginner's Guide, 5th Edition, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.