We will learn this article that How to set Java path of the various operating system
If you want to work in Java of your computer you must be set path on your system for Java after Java installation
When we install Java to a computer must consider two factors.
How to set path
Select Start, select Control panel. then double click the System, and select Advanced tab
Then, click Environment Variables, In the System variable, Find the path environment variable and select it.
Then click edit. If the path environment variable does not exist, Click New
In the Edit System variable(or New System variable) windows, specify the value of the Path environment variable. click Ok. Then, Close all remaining windows by clicking Ok
From the desktop, right-click the My Computer icon
Choose Properties from the context menu.
Click the Advanced tab(Advanced System setting)
Click the Environment variable. In the section System variable, find the path environment variable and select it.
Click edit. If the path environment variable does not exist, click New
In the Edit System variable(or new system variable) window, specipy the value of the path environment variale. Click ok.
Close all remaining windows by cilcking Ok.
From the desktop, right- click the Computer icon.
Choose Properties from the context menu.
Click the Advanced System setting
Click the Environment variables. In the section System variable, find the path environment variable and select it.
Click Edit. If the path environment variable does not exist, Click New.
In the Edit System variable(or New System variable)window, specify the value of the environment path variable. Click OK. Close all remaining windows by cilcking Ok.
How to set java path? After Java installation, click my computer then click C drive then click program Files then click Java folder then click JDK package then click bin folder
Then click the Address bar and copy the path of bin folder
write Click my computer and select properties
Then click Advanced system setting
Then click Environment variable
Then click new
Then type variable name – path
paste variable value – C:\Program Files\Java\jdk1.8.0_112\bin(path of bin folder)
To find the path of variable value – copy the address of path of bin folder
then click ok
You successfully set a path of java in your machine
you need to specify the full path to the executable every time you run it, such as:
C:\Java\jdk1.7.0\bin\javac MyClass.java
10 simple ways to add two numbers in Java In this article, we will discuss…
Write a Python program to find the first n prime numbers In this article we…
Python: Calculate Average of odd and even in a list using loops In this post,…
Python: Average of Odd & Even Numbers from User Input In this post, we will…
Explanation of one dimensional array In this post, we will discuss the concept of "Explanation…
Python program to calculate the sum of odd and even numbers in a list In…