As of 24 December, 2021, the current version of Java 11 is 11.0.13. We will be installing the OpenJDK version of JDK 11; for Windows and OS X, the specific distribution will be that provided by Amazon Corretto.
System requirements
Before installing, please verify that your system meets or exceeds the requirements for JDK 11, as specified in Oracle JDK 11 Certified System Configurations.
Download and installation
Windows
Download the Windows x64 MSI (installer file) for JDK 11 from Downloads for Amazon Corretto 11 and follow the installation instructions at Amazon Corretto 11 Installation Instructions for Windows 7 or Later.
Important: On the Custom Setup screen, use the Browse button to change the installation directory from its default value to C:\Program Files\Java\
(please be careful to use the precise spelling and casing shown here).
OS X
Download the macOS x64 PKG (package file) for JDK 11 from Downloads for Amazon Corretto 11 and follow the installation instructions at Amazon Corretto 11 Installation Instructions for macOS 10.13 or later.
Linux Ubuntu
Run the following commands in a Terminal window:
sudo apt update
sudo apt install openjdk-11-jre
sudo apt install openjdk-11-jdk
Optional tasks
The official JDK documentation can be accessed from any system with an Internet connection. However, it is highly recommended that you download and install the documentation locally for offline browsing. The documentation ZIP file is located at Java SE Development Kit 11 Documentation. To install, create a bootcamp
directory in your user home directory (if it doesn’t already exist), with subdirectories as shown below, and then unzip the contents of the downloaded jdk-11.0.13_doc-all.zip
file into the indicated directory. (Please note and follow the spelling and casing of the specified directories.)
-
(User home)
-
bootcamp
-
docs
-
jdk11
(Extract contents of
docs
folder injdk-11.0.13_doc-all.zip
here.)
-
-
-