Set Java Path Environment variable in Windows 11

Set Java Path Environment variable in Windows 11

Set Java path to system environment variables Windows 11/10; Through this tutorial, we will show you how to set or add java path to the system environment variable path in Windows 11/10.

If you have installed Java in your Windows system. To use Java, you must first set the JAVA PATH environment variable in the system. Once you have set the JAVA_HOME environment variable, you can verify that it is set correctly by opening a command prompt and typing the following command:

echo %JAVA_HOME%

How to Set Java Path to System Environment variable in Windows 11|10

Here are the steps on how to set the JAVA_HOME path to system environment variable in Windows 11:

  • Step 1 – Open Windows 11/10 Environment Setting
  • Step 2 – Edit Environment Setting
  • Step 3 – Edit System Environment Variable Path
  • Step 4 – Set Java Path to System Environment Variable Windows
  • Step 5 – Restart Windows 11/10

Step 1 – Open Windows 11/10 Environment Setting

First of all, visit your system bottom search bar and search Environment Variables; as shown below picture:

Edit the PATH Environment Variable windows

Step 2 – Environment Setting

Then Click on the environment variable setting; as shown below picture:

Advanced setting to open environment variable

Step 3 – Edit System Environment Variable Path

Edit system environment variable path; as shown below picture:

edit enviroment variable path

Step 4 – Set Java Path to System Environment Variable Windows

Add/set java path in environment setting; as shown below picture:

set java path in system environment variables windows

Step 5 – Restart Windows 10

Restart windows 10/11 system.

Conclusion

Through this tutorial, we have learned how to add java path to system environment variable in windows 11/10.

Recommended Windows Tutorials

AuthorAdmin

My name is Devendra Dode. I am a full-stack developer, entrepreneur, and owner of Tutsmake.com. I like writing tutorials and tips that can help other developers. I share tutorials of PHP, Python, Javascript, JQuery, Laravel, Livewire, Codeigniter, Node JS, Express JS, Vue JS, Angular JS, React Js, MySQL, MongoDB, REST APIs, Windows, Xampp, Linux, Ubuntu, Amazon AWS, Composer, SEO, WordPress, SSL and Bootstrap from a starting stage. As well as demo example.

Leave a Reply

Your email address will not be published. Required fields are marked *