Java Beginner Tutorial 2 - How to install JAVA on windows - Step by Step beginner tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone and welcome to this session this video is going to be a very quick session on how to install java on windows and we will be going very basics step-by-step so let's start and step one will be check if java is already installed ok so to check this if java is already installed you have to go to your command prompt and you have to say Java space hyphen version so I'm going to my command prompt here on my windows so let me go to my command prompt and if I say Java space hyphen version and say enter it is saying Java is not recognized as an internal external command this is because either Java is not installed or it is not set in the environment variables so let us see how do we install Java so let's suppose Java is not installed on your system as well and you got the same message so we go to step number two which is download Java from the internet ok so you go to your browser and I'm going to Google and just say download Java and you will get some results and I am just going to this Oracle site and here you can see all these versions right so I'm going to this section there I have all these you know downloadable files for Java okay you have to first say accept License Agreement you have to accept these conditions and then you have to choose the version that you want to download so I'm going to download Windows x64 so just click on this executable file and just or your download will start as of now I am going to cancel this download because I already have downloaded it earlier and I am I'll go to my downloads folder where I have already downloaded this Java executable file and I will double click on it so you have to now execute this right so the step will be once you have downloaded step number 3 is run the Java exe executable right so here I am running my Java executable file and it will be a window which will take you through the installation process we just have to do next again next and it will start downloading and installing Java on your system so it will take a couple of seconds let it install it and I believe it is all green it is all done ok so it's asking me the destination folder so it is going to install on C program files which is ok I click on next and now it is installing Java into c program files on my system ok it's it's going to take a couple of seconds it's usually quite fast will not take a lot of time okay so now it is successfully installed you get this message so I'm just closing this okay now I have run the Java Exe so Java is installed on my system right so let me go to my command prompt then check again if Java is installed again I say Java space hyphen version and enter but still it is saying Java is not a recognized as an internal or external command so what is missing is I have to set the environment variables as well okay so step number four is setting environment variables sorry for the typo okay so how do you set the environment variables you have to go to your environment variables and there are various ways of going there what I am going to do is I am going to go to my computer this will be your my computer I will right click go to properties and here go to advanced system settings and here in the system properties windows you can see environment variables I click there and now I have come to my environment variables so you have to set the java home here so first you will search if java home is already there if not you if it's already there you have to just edit it if not you have to go to new and say java underscore home and the value that you have to give is the folder location where Java is installed right so mind in my case Java is in C and Program Files and it's Java JDK one eight zero nine one okay so I'm going to take this location I am just going to copy this and into my Java home I'll place this and say okay so my Java home is now added what I have to do one more step is I have to go to my path variable and go to edit now be very careful do not erase whatever is already there you just have to go to the end place a semicolon and then add the location of your on your system we are your Java JDK bin is there so my Java JDK business here okay inside it was the same location and inside there will be a bin folder so this is this location that I am going to inside my JDK this is the bin folder so I am entering this value there so again I go to my system properties and here I have given the location of my Java bin folder now this this part okay before in the bin directory this part we have already given as Java home so there is one more way to give this I can just refer it from there what you have to do is percentage and the variable name that was Java underscore home and again percentage and then slash bin so what I am going to tell the system is take this location same as whatever is there in Java home and then you have to go to the bin folder okay so by this I am making sure that whenever I make any change to my Java home here the Java home variable I do not have to change my path again because it will be referring from here okay so I say okay and again okay now if I go to my command prompt and I again say Java space hyphen version and enter it is against ifs showing Java is not recognized as an internal external command but now we have installed Java and we have also set the environment variables so why is it not recognizing is because this command from this window we have opened and it is still maintaining the older session so we will exit it from here okay so let me also write it here the last step is which is step number five check if Java is installed and available for use so again you have to go to your command prompt start a new session and now again I'll write Java space hyphen version okay and now you can see it is showing you the Java version and the message so if you get this message that means Java is now installed and it's ready to be used okay hope you liked it thank you
Info
Channel: Automation Step by Step
Views: 65,838
Rating: undefined out of 5
Keywords: how to install java, how to install java on windows, how to install java on windows beginner tutorial, how to install java on windows step by step, how to java, java beginner tutorial, java step by step installation on windows, java on windows, windows how to install java, installing java on windows, setup java on windows, java set environment variables, java step by step for beginners, java from scratch
Id: FqpmH8MVO6A
Channel Id: undefined
Length: 10min 5sec (605 seconds)
Published: Thu Jun 30 2016
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.