[Video + Steps] How To Install Java and Set Path in Your PC or Laptop


How To Install Java and Set Path

Lets assume that you have not installed Java before
So I guess, if you open a Command Prompt and you type ‘java c’ and you will get a message something like the following.


How To Install Java and Set Path


The above message in command Prompt indicates Java is Not installed in your PC

Step 1: How To Download Java
Click on below links to download java.
Note: If your windows is 32bit then download 32bit and If 64bit then download 64bit Java set up.

Download java JDK :  Download

Step 2: How To Install Java

1. Open downloaded java set up and click on Next
How To Install Java and Set Path


2. Again Click on Next
How To Install Java and Set Path

3. Again Click on Next and Installation process get complete.
How To Install Java and Set Path


Step 3: How To Set Java Path

1. Right click on My Computer and click on Properties

2. Click on "Advanced System Settings"

3. Click on "Environment Variable"

4. Now here be careful for this step. if you did wrong your system may not work properly.
Click on New button for System Variables and Find Path as variable

5, Click on Edit for Path variable,

6.  Now go to  C:\Program Files\Java\jdk1.8.0_65\bin and Copy this path
Note: jdk version may be differ in your PC so don't copy the exact above path.

7. That's it and Click on OK.

Read: How To Run Java Program, Hello World Program



If you get any problem. You can comment below


Bhavesh Desai Software QA Engineer

Bhavesh Desai is an Software QA Engineer and he do blogging in freetime

No comments:

Post a Comment