How to set path of JDK in Windows Part5 - ETL- iNFORMATICA DEVELOPER

Sunday, October 20, 2019

How to set path of JDK in Windows Part5

Path is required for using tools such as javac, java etc. If you are saving the java file in jdk/bin folder, path is not required.But If you are having your java file outside the jdk/bin folder, it is necessary to set path of JDK. There are two ways to set path of JDK: 


1)Setting temporary Path of JDK in Windows:

For setting the temporary path of JDK, you need to follow these steps: 

Open command prompt
copy the path of bin folder
write in command prompt: set path=copiedpath

For Example:

set path=C:\Program Files\Java\jdk1.6.0_23\bin
Let's see it in the figure given below:

2)Setting Permanent Path of JDK in Windows:

For setting the permanent path of JDK, you need to follow these steps: 

Go to MyComputer properties -> advanced tab -> environment variables -> new tab of user variable -> write path in variable name -> write path of bin folder in variable value -> ok -> ok -> ok

For Example:

1)Go to MyComputer properties

2)click on advanced tab

3)click on environment variables

4)click on new tab of user variables

5)write path in variable name

6)Copy the path of bin folder

7)paste path of bin folder in variable value

8)click on ok button

9)click on ok button

Now your permanent path is set.You can now execute any program of java from any drive. 

Setting Path in Linux OS

Setting the path in Linux OS is same as setting the path in the Windows OS. But here we use export tool rather than set. Let's see how to set path in Linux OS: 

export PATH=$PATH:/home/jdk1.6.01/bin/


  1. Replies
    1. Great Article android based projects

      Java Training in Chennai Project Center in Chennai Java Training in Chennai projects for cse The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training Project Centers in Chennai

  2. I love the way you write and share your niche! Very interesting and different! Keep it coming!

    mystrikingly weebly Rhinoplasty

  3. "I visited your blog you have shared amazing information, i really like the information provided by you, You have done a great work. I appreciate your work.