Downloading and Installing the Java Development Kit
The Java Development Kit (JDK) can be downloaded from the following web address:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
The Java download tab includes links to download the JDK or the Java Runtime Environment (JRE). Follow the JDK link because clicking the JRE link gets you only the JRE, not the complete JDK.
The JDK download comes in two versions: an online version that requires an active Internet connection to install the JDK, and an offline version that lets you download the JDK installation file to your computer and install it later.
The exact size of the offline version depends on the platform, but most versions are between 50MB and 60MB, so that means that your download will take a few hours if you don’t have a high-speed Internet connection. With a broadband cable, DSL, or T1 connection, though, the download takes less than five minutes.
After you download the JDK file, install it by running its executable file. The procedure varies slightly depending on your operating system, but basically, you just run the JDK installation program file after you download it, as follows:
On a Windows system, open the folder in which you saved the installation program and double-click ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access