Install Java on Windows:
(1) Go to your browser and type in the search bar “Java Development Kit” as shown below. or You can also directly go to the official website by clicking here Java Downloads.
(2) Now under the Java Downloads tab, select the windows and click on the x64 Installer link as shown below.
(3) Now the x64 Installer (JDK) is downloaded. Go to the folder where it is downloaded.
(4) Now double-click on the JDK. The computer asks “Do you want to allow this app to make changes to your device?” Click on Yes. Then below interface is getting opened and click on the Next button.
(5) After that you see the directory option where you want to install it. I will remain it default and press the Next button.
(6) Java installation starts as shown below.
(7) Now Java is installed. Click on the close button as shown below.
(8) Now we have to add the Environment Variables. This is the most important step. By adding Environment Variables we can execute Java Programs from anywhere in the system. For this open the path where you have installed java. Click on the bin folder and copy that path as shown below.
(9) In the windows search bar type “Edit the System Environment Variables” and open it as shown below.
(10) System Properties dialog box is open and click on the “Environment Variables” as shown below.
(11) Under System Variables, we select Path and then press Edit as shown below.
(12) Now we added a new path in it as shown below.
(13) Our path is added.
(14) Some applications need JAVA_HOME Variable, so we can also add it. In the same Environment Variables window, under System Variables, you have to select ComSpec and then press New as shown below.
(15) Set the variable name JAVA_HOME and in the variable value add the same path eliminating the bin and then press Ok as shown below.
(16) Now open the cmd and type java -version so that we can check whether java is installed on the system or not as shown below.
About Java: The concept of the language Java was first developed by Mr. James Gosling, Patrick Aughton, Chris Warth, Ed. Frank, Mike Sheridan, and other scientists of M/s. Sun Microsystems, Inc. in the year 1991. The language was first given the name “Oak” but later, sometime in the year 1995 it was upgraded and given the name “Java”. Initially, Java was made for developing a platform-independent language and to work with embedded system software. Common languages like Basic, Fortran, Pascal, C, C++, etc., have been developed to work on a specific operating system platform. But the language Java can be used in any hardware and operating system platform. When the World Wide Web and Internet system came, then the basic need was to work with such a language that can work on any operating system, because any user across the Globe may call and run the same program from their different hardware and software environment. It is a very cohesive and logically consistent language and gives full control to the programmers. The syntax of Java is made very similar to C and C++ for obvious reasons. This has made the programmers of C and C++ switch over to the Java environment without much effort and attention. Though some programmers think that Java is the internet version and updated version of C++, actually it is not so. Basically, the application areas of C++ and Java are completely different from each other and thus they will both exist side by side. In short, Java may be called a simple, robust, secure, and multi-threaded language that works on any platform. It is also a portable, versatile and dynamic language. The main applications of Java include web servers and application servers; enterprise, scientific, desktop GUI, web & mobile applications; embedded systems.
Artificial Intelligence (AI)
Object-Oriented Programming (OOP)
Computer Software and Hardware
Malicious Software (Malware)
Database Management System (DBMS)