How to install Java on Windows
Java is a famous yet powerful language.Java is used to develop mobile apps, web apps, games, and much more. Every year more and more programming aspirants are learning java to make a career out of it and it is very essential to install java on your pc for the development and usage of Java applications. we have taken care of it and are here to help you install java components on your windows step by step without any worries just follow the steps and share this with your mates too!!
We have made things easy and clutter-free all for your comfort head over here and install the latest version of java. note that you have to choose the type of architecture(32 or 64-bit version) of your windows then download the setup and install.
SETTING PATH VARIABLES
After installing the java setup, head over to the installed location (in my case it is: C:\Program Files\Java\jdk-16.0.2\bin)
you might have a different location based upon your installation location so simply you have to copy the bin’s path like this
C >> program files >> java >> JDK >> bin Enter into the bin’s folder
Copy the path Now type ” Edit the system environment variables ” in the windows search bar and hit enter locate the environment variables and hit enter
Click on New on both User variables for USER and System variables
give the variable name as JAVA_HOME and paste the copied path in the variable value
Now you know the formalities click on ok and apply the changes and make a reboot
Now open the cmd after the reboot and type ” java -version ” to see whether the java is installed perfectly or not.
if it shows a java version it’s successfully installed.