How to install Java JDK 11 on
Windows
Download Java 11 – JDK
You can download Java JDK 11 from here.
Java 11 JDK download page
Java SE 11 Download Page
Once you click on download, you will be asked to accept a License
agreement before the download begins. Accept the license to
download the file.
You will be asked to login to start the download. If you don’t have an
Oracle account, you can create here. Download .exe file.
Install using Windows installer
I normally prefer to use this method.
Step 1- Run the installer (.exe file)
Let’s get the process started by executing the installer by double
clicking the .exe executable installer file that you have downloaded
from the official website.
You will see the the following windows.
Windows Installer – Preparing to Install
Java 11 Installation – Setup Wizard
Click on next to continue
Step 2 – Custom setup
In this screen you can change certain installation defaults. I accept
this as it is. You can change the installation directory if you want by
clicking on change. Click next to continue.
Please remember the installation directory path. This will be
required to set the environment variables
Java 11 JDK Installation Wizard – Custom Setup
Click Next to begin the installation
Step 3 – Installation begins
You will see that the installation begins. Please wait for the process to
complete.
Java 11 JDK Installation progress
After sometime you will see installation complete message.
Java JDK 11 Installation Complete
Click on close to complete the installation.
Add Java Path to the environment
variable
If you want to run the Java command from anywhere, its better to
add it in the path variable. This is how you would do it.
Step 1- Go to advanced setting
Search advanced setting in the taskbar search pane. Click on view
advanced system settings.
Windows 10 taskbar search – advanced settings
You will see System properties window. Click on Environment variable.
Windows OS – System properties window
Step 2- Add to Environment path variable
Under System variable – click on path and click edit
Windows 10 – Environment variable
Click on New, and add the java directory’s bin folder path such as
c:\java\bin or C:\Program Files\Java\jdk-11.0.6\bin. This will change
based on where you have extracted the .zip file(option 2) or installed
java(option 1). If you have used the default settings, Java will be
installed in the C:\Program Files\Java\ folder.
Click on Ok continue and exit.
Eclipse Installation
Follow the steps in link: https://www.eclipse.org/downloads/packages/installer