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

Why we do exception handling in java and how many types of exceptions are there?

548


What are different types of constants?

520


why are there separate wait and sleep methods? : Java thread

578


In how many ways we can do exception handling in java?

577


Name few java 8 annotations ?

567






Is age a discrete variable?

528


Is int a class in java?

531


What is default size of arraylist in java?

559


Can we create object of static class?

528


What is static in java?

561


What is the difference between this() and super() in java?

543


What is set in java?

532


Is java ee a framework?

522


What is the need of transient variables in Java ?

582


what is abstract class in Java?

652