how-to-set-path-of-jdk-in java .

In this session i have discussed how to set the path of jdk in java .

There are two ways by which you can set the path of jdk .



1-Set the path temporary

Open the command prompt

Copy the jdk path/bin directory

Write the below code as example

    set path=C:\Program Files\Java\jdk1.8.0_161\bin

2-Set the path permanent

Right click on mycomputer and select the properties ->advance-system-settings->advance-tab->environment-variable->path->paste the jdk copied path .

Welcome to AndroidATPoint.

back image                     next image