To check and Install Java on Windows

https://javalearningandtraining.blogspot.com/2019/01/to-check-and-install-java-on-windows.html

Setup for Windows

To install Java on Windows:

If you do not have Java installed on your computer, you can download it for free from oracle.com.

  1. Go to "System Properties" (Can be found on Control Panel > System and Security > System > Advanced System Settings)
  2. Click on the "Environment variables" button under the "Advanced" tab
  3. Then, select the "Path" variable in System variables and click on the "Edit" button
  4. Click on the "New" button and add the path where Java is installed, followed by \bin. By default, Java is installed in C:\Program Files\Java\jdk-11.0.1 (If nothing else was specified when you installed it). In that case, You will have to add a new path with: C:\Program Files\Java\jdk-11.0.1\bin 
    Then, click "OK", and save the settings
  5. At last, open Command Prompt (cmd.exe) and type java -version to see if Java is running on your machine

Comments