wellnwill Marathahalli Bangalore

How To Set Path

There are 2 ways to set java path :

  • Temporary- write in command prompt: set path=copied path (write jdk/bin path)
  • Permanent

Set java path permanent

Setting Path

In the System Variables you will find Path variable, select this Path and click Edit button.

In Variable value, you have to append at the end both; and your installed JDK bin path.

Ex- C:\Program Files\Java\jdk1.8.0_101\bin;

Java Example

 class Simple{  
    public static void main(String args[]){  
     System.out.println("Hello Java");  
Footer with Map