Following are the Steps for JAVA Installation on windows
Step-1:
Download JAVA from JAVA Official Website
From below links appropriate download JAVA for windows or other OS architecture (x86 or 64) after accepting oracle license agreement.
https://www.oracle.com/java/technologies/javase-jdk16-downloads.html
Step-2:
Installation on windows OS
Run the download JAVA installer file and proceed step by step installation process, accepting the JAVA term and conditions or license agreement.
- Double click on jdk-16.0.2_windows-x64_bin.exe file
- Click on YES button to accept the user rights
- Click on Next button
- Click on YES button to accept the user rights
- Click on next or you may change the installation path by clicking on change button.
- Installation processing
- Once installation process completed, then click on “Close” button.
Step-3: Configuring JAVA path
- Right click on my pc icon
- From menu select properties
- Select Advance system settings
- Select “Environment Variables” option to add JAVA path
- Add JAVA path by selecting Path variables,
- Then click on new button to add JAVA_Home and java installation directory to C:\Program Files\Java\jdk-16.0.2\bin
- Add JAVA installation path to PATH variables
- To verify that JAVA is working properly or not
- Open command prompt “CMD”
- Type JAVA –version