HOW TO SET PATH FOR JAVA
HOW TO SET PATH FOR JAVA
Checking the version of java in your System:-
- Open Run command using key Windows + R.
- The command prompt will appear and now type java –version
- you will see message and version of java like this:-

For Setting Path:-
- In case of java we can set path in two ways:-
- Temporary path set:-

Here, cd is used for Change Directory.
Using this, you will able to set path for java temporary means whenever you close the cmd path become disturbed.
- Permanent path set:-
- Open the properties of your Computer using My Properties.

- Click on Advanced system
- Open the Advanced Panel in it.

- Now, Click on Environment Variables.
- A Window will appear like this :-

- Now Click on New (You can choose either one but if you are using multiple accounts then choose System variables else to choose User Variables).
- You will see a new Window.

- Enter the fields’ information as shown above.
- Click OK in all Windows.
- Close cmd and open it again.
- The permanent path will be set.
Comments
Post a Comment