Hello and welcome.
In this lecture, I will show you how to install Java.
Let's get started.
Go to the Oracle download page where you can download the JDK.
So this is the version I'm downloading.
JDK 15.0.2, which is the latest version at the time of recording.
This is the one: JDK 15.0.2 Windows x64 installer.
So download that one, and after you finish downloading, double-click to launch it. It is now preparing
to install.
Just click on the Next button and take note of the path.
C:\Program Files\Java\JDK-15.0.2.
So just go ahead and click on the Next button to begin installation.
After finish installing, you can check using Control Panel.
That is one way to check.
They know that if you have any earlier version of Java, you can use that.
And if you want to install the latest, make sure you uninstall the earlier version of Java before you
install this new one.
Okay.
So I'm just checking to make sure that I've only got one version of Java.
Okay.
So now Java has been completed installed, and click on Next Steps, and you will see the documentation
for JDK.
Now open your command prompt and type the command: java --version to test.
Confirm again.
Make sure that it is installed.
As you can see, I've already installed it successfully.