Downloading and Installing JDK 15
This section describes how to download and install JDK 15 on a macOS computer.
The current version of JDK is JDK 15, which is also called Java SE (Standard Edition) 15
Here is what I did to download and install JDK 15 on my macOS computer.
- Open the Java SE Download page with this URL:
- Click "JDK Download" under "Java SE 15".
You will see a new page with a list of different download files of "Java SE Development Kit 15 Downloads".
- Click the hyper link of "jdk-15_osx-x64_bin.dmg",
next to "macOS Installer - 179.31 MB".
- Accept the license agreement and finish the download.
The download file jdk-15_osx-x64_bin.dmg will be saved in your ~/Downloads folder.
- Double-click on jdk-15_osx-x64_bin.dmg to open the installation package.
- Double-click "JDK 15.pkg" to start the installation wizard.
- The installation wizard will guide you to finish the installation.
The picture below shows you how the JDK 15 Installation Screen looks like:
To test the installation, open a command window to try the java command.
If you are getting the following output, your installation is good:
herong> java -version
java version "15" 2020-09-15
Java(TM) SE Runtime Environment (build 15+36-1562)
Java HotSpot(TM) 64-Bit Server VM (build 15+36-1562, mixed mode, sharing)
Table of Contents
About This Book
►JDK (Java Development Kit)
What Is JDK
►Downloading and Installing JDK 15
Writing My First Java Program
Adding JDK "bin" Directory to Path Setting
JDK Documentation Installation
Introduction of Java Swing Package
Graphics Environment of the Local System
JFrame - Main Frame Class
JLabel - Swing Label Class
JButton - Swing Button Class
JCheckBox - Swing Check Box Class
JRadioButton - Swing Radio Button Class
JTextField - Swing Text Field Class
JComboBox - Swing Combo Box Class
Menu Bar, Menus, Menu Items and Listeners
Creating Internal Frames inside the Main Frame
Layout of Components in a Container
LookAndFeel and UIManager
Option Dialog Boxes
JEditorPane - The Editor Pane Class
SwingWorker - The Background Task Worker
AWT (Abstract Windows Toolkit)
Integration with Desktop System
Full Version in PDF/EPUB