what is the need to set path in java? how many ways to set
path in java? Explain breif?

Answer Posted / abhinav bhargava

We can set the path for JAVA in the environment variables
like this:

After installing JAVA we will go to the environment
variables and add new path.

In the variable name write %classpath%
IN the value write the path where java is installed and ;.;

Now create a new key and in the variable write %path%
and in the value write path;.;

Is This Answer Correct ?    0 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of generics? When was it added to the Java development Kit?

553


what is the purpose of "virtual"?

564


What is the Scope of Static Variable?

728


When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?

761


What is treeset in java collection?

519






Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?

570


What is the purpose of a default constructor?

576


Can arraylist hold different types java?

482


What are the steps that are followed when two computers connect through tcp?

515


What is the difference between notify and notifyall method?

613


Why can't we use static class instead of singleton?

499


How to split a string in java?

622


Can we sort list in java?

600


Highest level event class of the event-delegation model?

3500


What is import java util arraylist?

650