banner



How To Install Older Version Of Java

In this blog mail service I will show you lot how to setup Coffee JDK version 11 on Windows 10. Coffee xi is currently released as Long Term Support (LTS) and a recommended version for development. Java 8 is the virtually widely used today, but it is better to target Java xi for development as information technology is production prepare and has a long time back up.

To install Java 8 JDK SE, delight follow my post here.

Delight note that Java 11 is available only in 64 bit version and not in 32 chip version.

For Windows, you will see two options, one is the .zip file and the other is .exe executable file. I volition testify you how to install Java using both.

Please note that JRE will be installed automatically when yous install JDK. You lot don't have to do anything extra to install JRE. Oracle has stopped providing JRE installer. Now JDK and JRE is a function of Standard Edition (SE)

Download Coffee 11 – JDK

You can download Java JDK 11 from here.

Java 11 JDK download page

Coffee xi JDK download page

Scroll down and you volition run across the two download options for windows which is an installer (.exe) and Compressed Archive (.zip). For this blog, we will be downloading both.

Java SE 11 Download Page

Java SE 11 Download Folio

Once you click on download, you lot volition be asked to accept a License understanding before the download begins. Accept the license to download the file.

Java 11 SE Download - License Agreement

Java 11 SE Download – License Agreement

Oracle does non allow you to download older versions of Coffee such as Java 8, 9, 10, 11 etc. without registering with Oracle. That is yous will accept to create an account and login to be able to download.

Its meliorate to have an Oracle business relationship because for a lot of downloads, Oracle has stated asking users to login to download the files

You will be asked to login to start the download. If you lot don't take an Oracle account, you can create hither.

Oracle Login Page

Oracle Login Folio

There are Two options to install Java JDK 11. We volition run into all the options one by one.

  • Selection ane- Install using Windows installer
  • Selection 2- Install using extracting the .zip file

and after yous install Java JDK 11 using either of the Options, you volition have to
Add Java Path to the environment variable

Choice 1- Install using Windows installer

I ordinarily prefer to utilise this method.

Pace 1- Run the installer (.exe file)

Lets become the procedure started by executing the installer past double clicking the .exe executable installer file that you have downloaded from the official website.

You will run into the the following windows.

Windows Installer - Preparing to Install

Windows Installer – Preparing to Install

Java 11 Installation – Setup Wizard

Java 11 Installation – Setup Sorcerer

Click on side by side to continue

Footstep two – Custom setup

In this screen y'all tin can change sure installation defaults. I accept this every bit information technology is. Y'all can change the installation directory if you desire by clicking on change. Click side by side to continue.

Delight think the installation directory path. This will be required to set the environment variables

Coffee 11 JDK Installation Sorcerer – Custom Setup

Click Next to begin the installation

Step 3 – Installation begins

You volition see that the installation begins. Please wait for the process to complete.

Java 11 JDK Installation progress

Java 11 JDK Installation progress

After sometime you volition run across installation complete message.

Java JDK 11 Installation Complete

Coffee JDK 11 Installation Complete

Click on close to complete the installation.

Earlier, this method used to setup the environment variable also. But with Java 11 JDK, the installer did not setup the environment variable, which I had to add manually.

After the installation process completes, run java --version command in command prompt. If you see an error bulletin, cease of the blog has the steps required to add surroundings variables to your reckoner.

Option -two – Install using extracting the .zip file

This is pretty straight frontward procedure.

Footstep – 1 – Download the goose egg file

Download the .aught file from the official site.

Step – 2 – Unblock the file

Windows 10 blocks the files you accept downloaded from internet by default for security reasons. Sometimes when you extract these blocked files, all the extracted files are likewise blocked and will not execute. Its better to unblock information technology before extracting it.

Right click on the downloaded null file and click on properties. Check unblock at the bottom and click OK.

Java 11 JDK – Unblock Zip File

Java 11 JDK – Unblock Zero File

Stride – 3 – Extract the downloaded file

Excerpt the download .zip file which will have the proper noun something like , to any folder such as c:/java.

You can employ 7zip or Windows default unzip program. To use the windows default unzip program, right click on the nix file and select Excerpt All.

Step – 4 – Execute coffee command from control line

Now you tin execute java code using the control line. For this you will have to go to the extracted file root folder. for example C:\java and execute the command from command line.

cd C:\java
java --version

Step – 5 – Add together Coffee to Path

Follow the below steps to add Java to Path.

Add Coffee Path to the environment variable

If yous want to run the Coffee command from anywhere, its amend to add it in the path variable. This is how you would do information technology.

Pace 1- Go to advanced setting

Search avant-garde setting in the taskbar search pane. Click on view avant-garde system settings.

Windows 10 taskbar search – advanced settings

Windows x taskbar search – avant-garde settings

You lot volition see Organization backdrop window. Click on Environment variable.

Windows OS - System properties window

Windows Os – System properties window

Step 2- Add together to Environment path variable

Nether System variable – click on path and click edit

Windows 10 - Environment variable

Windows 10 – Environment variable

Click on New, and add the java directory's bin folder path such equally c:\coffee\bin or C:\Program Files\Java\jdk-11.0.6\bin. This will change based on where y'all have extracted the .goose egg file(option 2) or installed java(option i). If you lot have used the default settings, Java will exist installed in the C:\Program Files\Java\ folder.

Click on Ok continue and leave.

Windows 10 - Edit Environment Variable

Windows 10 – Edit Environment Variable

Now you can run Java command from any where.

Step 3- Bank check the version of Java installed

Get to windows terminal cmd or powershell and run the command

java --version to cheque the version of Coffee installed.

Command Prompt - Check Java Version

Command Prompt – Cheque Java Version

That's it, now you have Java JDK installed on your system.
Thanks you…

Source: https://www.shaileshjha.com/download-and-install-latest-java-jdk-on-windows-10/

Posted by: horowitzwiffew.blogspot.com

0 Response to "How To Install Older Version Of Java"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel