Chapter 10. Development Basics

The Java Runtime Environment (JRE) provides the backbone for running Java applications. The Java Development Kit (JDK) provides all of the components and necessary resources to develop Java applications.

Java Runtime Environment

The JRE is a collection of software that allows a computer system to run a Java application. The software collection consists of the Java Virtual Machines (JVMs) that interpret Java bytecode into machine code, standard class libraries, user interface toolkits, and a variety of utilities.

Java Development Kit

The JDK is a programming environment for compiling, debugging, and running Java applications, Java Beans, and Java applets. The JDK includes the JRE with the addition of the Java programming language and additional development tools and tool APIs. Oracle’s JDK supports Mac OS X, Solaris, Linux (Oracle, Suse, Red Hat, Ubuntu, and Debian [on ARM]), and Microsoft Windows (Server 2008 R2, Server 2012, Vista, Windows 7, and Windows 8). Additional operating system and special purpose JVMs, JDKs, and JREs are freely available from Java Virtual Machine. Supported browsers are Internet Explorer 9+, Mozilla Firefox, Chrome on Windows, and Safari 5.x.

Table 10-1 lists versions of the JDK provided by Oracle. Download the most recent version at Oracle’s website, where you can also download older versions.

Table 10-1. Java Development Kits
Java Development KitsCodenameReleasePackagesClasses

Java SE 8 with JDK 1.8.0

---

2014

217

4,240

Java SE 7 with ...

Get Java 8 Pocket Guide 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.