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
What is difference between static class and normal class?
Why parameters should be passed by reference?
Is it possible to write a regular expression to check if string is a number?
How is Object Oriented Programming different from Procedure Oriented Programming?
What do u mean by variable?
Why java is secure? Explain.
Can we use String with switch case?
What happens if we don’t define serial version uid?
What is polymorphism and what are the types of it?
Define a package.
How many types of array are there?
What is a string what operation can be performed out with the help of a string?
What about anonymous inner classes in java?
When is the garbage collection used in Java?
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?