Program to delete duplicates from a link list

Why to set class path in java

Why to set class path in java

It is necessary to set the path to use tools like javac, java, etc. If you are saving java source file inside JDK/bin directory, there is no need to set path as all tools will be available in current directory. However, if you have your java file outside the JDK/bin folder, setting the path to the JDK is necessary.

There are two ways to set a path in Java

  1. Temporary
  2. permanent

How to set temporary path of JDK in Windows?

You have to follow the following steps

  1. open command prompt
  2. copy the path to the jdk/bin directory
  3. In command prompt type: set path=copy_path

Example
set path=C:\Program Files \Java\jdk1.6.0_23\bin.

 

How to Set Permanent Part of JDK in Windows?

To establish a permanent path of JDK, you need to follow these steps

Go to MyComputer properties

-> advanced tab

-> environment variables

-> new type of user variable

->write path in variable name

-> write path of Bin folder in variable value

->ok

-> ok

-> ok

Also check this:-

codechef problems:-

 

 

Wipro :-

 

 

Infytq :-

 

 

Key Points;-

Hackerrank:-

C-tutorial:-

 

See more:-

Leave a Reply

Your email address will not be published.