This tutorial shows how to set the JAVA_HOME environment variable (system variables) and Java Path on Windows 10 operating system.
Video Tutorial
Below video tutorial explained how to set the JAVA_HOME environment variable (system variables) and Java Path on Windows 10 operating system:Quick Steps
Here are the typical steps to set JAVA_HOME on Windows 10.
- Search for Advanced System Settings in your Windows Search box. Click on Advanced System Settings.
- Click on Environment variables button: Environment Variables popup will open.
- Goto system variables section, and click on the New button to create a new variable then New System Variables popup will open.
- Give Variable Name: JAVA_HOME, and Variable value: Your Java SDK home path. Ex: C:\Program Files\java\jdk1.8.0_151. Note: It should not include \bin. Then click on the OK button.
- Now you are able to see your JAVA_HOME in system variables list.
- Select Path (from system variables list) and click on the Edit button, A new pop will opens (Edit Environment Variables). It was introduced in Windows 10.
- Click on the New button and give %JAVA_HOME%\bin at the highlighted field and click Ok button.
Now, type following command in cmd to verify JAVA_HOME configuration:
c:\users/ramesh> java -versionThese steps were implemented in the above video tutorial so watch the video tutorial to complete this tutorial.
Comments
Post a Comment
Leave Comment