Learnerslesson
   JAVA   
  SPRING  
  SPRINGBOOT  
 HIBERNATE 
  HADOOP  
   HIVE   
   ALGORITHMS   
   PYTHON   
   GO   
   KOTLIN   
   C#   
   RUBY   
   C++   




Java - Installation


To run Java Programs in you PC, you need to install Java first.


Installation of Java for Windows OS


Below are the steps to install Java on Windows OS :

  1. Goto the below link and download Java 8 for windows.

    https://www.oracle.com/java/technologies/downloads/#java8-windows

  2. Click on x64 Installer .exe as displayed in the image.


    Java-Installation

  3. Tick the checkbox and click on 'Download' button to download JDK 1.8


    Java-Installation

  4. Once the .exe file is downloaded, click on the .exe file to start the installation.


    Java-Installation

  5. Then you get the Setup window. Click on 'Next' button to proceed.


    Java-Installation

  6. In the next screen, select 'Development Tools' and click 'Next'.


    Java-Installation

    Java-Installation

  7. Then you get the window, where you can change the default path. If you want to continue with the default path, click 'Next'.


    Java-Installation

  8. And Java Installation starts,


    Java-Installation

  9. Once Java is installed, you have to set the path variable, so that you can run java from anywhere in windows.


  10. 0. To do so, type 'system properties' in the search bar. And click on 'About this PC' to open it.


    Java-Installation

  11. 1. In this window, on the right side, click on 'Advanced System Settings'.


    Java-Installation

  12. 2. The 'System Properties' window opens. Click on 'Environmental Variables'.


    Java-Installation

  13. 3. In the 'New User Variable' window, type the 'Variable Name' as 'path' and 'Variable Value' as the path where JDK 1.8 is Installed.


    Java-Installation

And you are all set to run Java applications from your PC.