How to install Java JDK on Windows 10 [ 2021 Update ] Step by Step JDK Installation

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone I welcome you all to my channel  first of all a very happy new year to all of you   today I will be showing you how to install java  in 2021 in your windows operating system so let's   begin first of all we'll check whether java has  been installed in our operating system so for that   we'll be opening our command prompt and then we'll  type java space dash version and after typing that   as you can see the java is not recognized as  an internal or external command so that means   java is not installed in our operating system  so we'll download it in our operating system   so for that we'll be first opening our chrome  browser and then we'll search java JDK download and after typing the first result that  we'll be getting is from oracle.com   now we'll click on the first link and after  clicking that we can see the latest version is   java ac 15 so 15 is our latest version it  might be different if you are downloading in   some other time so so you should download the  latest version so click on this JDK download and then you will see right at the bottom  of this page this windows 64 installer   there are two options basically one  is a gif file another is a exe file   so I'll recommend you to download  this exe file so just click on it and it will start downloading first you need to  accept this license agreement so after accepting   it click on the download and  it will start downloading I have already downloaded  it so I'll just cancel this   and I will install it from my earlier  downloaded version that is 15.0.1 so I just double click on it and then click  next now this is the location where your   java JDK going to be installed that is  this program files java JDK dash 15.0.1   if you if you want to change your location then  you can simply change click on the button change   and then you can save in your desire destination  but I would recommend you not to change this   destination just simply click click  on next then it will start installing   after a minute or so uh it will be completely  installed and then just simply click on close now after installing java, you need to share these  environment variables so that you can compile your   program from any other directory so for that, you  need to go to this C directory and then click on   program files then java then you  will get this JDK 15.0.1 folder   just click on it and then click this bin  directory now here you need to copy this path   just copy it and then click the start menu and  then click on settings and here in the settings   just simply type environment now after typing  that you will be getting these two search results   that are this environment variable for your  account and edit system environment variable   so you need to click on this second option that  is this edit the system environment variables now after clicking that will be getting the  system properties now here just click on   environment variables and then click on path  in the system variables then click on edit   and here just click the edit text  and put a semicolon and paste the   path yeah now it's done now click okay okay   now you need to set this and java home  environment variable so for that just click on new   and then just simply type java home environment  all in caps in under this variable name option   so just type and then under this  variable value you need to paste the path   now you need to paste this path up to JDK 15.1  so for that just come back to one directory   and then uh click copy the path and then  go to new system variable and then just   paste the path under this variable value  all right and now just simply click ok and just simply click ok and finish you  are done now just again open comment from   and type java space dash version and  now we'll see this is java version   15.0.1 has been installed rightly on  your computer now you can simply run   java program to test if it's working correctly  or not so for that just open your notepad and write a simple HelloWorld program and then just create a new folder like in java  program and then save uh with the extension of   dot java this is necessary otherwise the program  will not compile it will be saved as a txt file   which is not desired we need to save this  program as dot java extension now just type cmd and write javac hello world that  is the name of the class dot java   so the compile has been done correctly and you  can see this dot class file has been generated   and will simply run by typing java, hello world  and you can see this output hello world has been generated so that's all friend thank  you very much for watching this video   if you like this video then please give it  a thumbs up and also share with your friends   and also don't forget to subscribe to our channel  thank you very much and God bless you all you
Info
Channel: Geeky Script
Views: 352,646
Rating: undefined out of 5
Keywords: how to install java on windows 10, how to install java jdk on windows 10, how to install java jdk on windows 10 ( with java_home ), java jdk install windows 10, java installation in windows 10, java installer error download failed, Javatutorial, Javaprogramming, Javaprogrammingtutorial, Javabasicsforbeginners, JavaJDK, #Windows10, Javatutorialforbeginners, Step by Step JDK Installation, 2021 update, how to install java, java, install java
Id: MxjjRmm0k-I
Channel Id: undefined
Length: 8min 22sec (502 seconds)
Published: Fri Jan 01 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.