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 the difference between overriding and overloading in OOPS.
Explain about static imports in java?
How do you join strings in java?
What is the purpose of an interface?
Can memory leak in java?
explain multi-threading in java?
What are conditionals and its types?
Explain the selection sort algorithm and state its time complexity?
What are the two ways to create a thread?
Explain inheritance in java?
Explain creating threads by implementing runnable class?
How can we make copy of a java object?
What is the difference between pass by reference and pass by pointer?
explain the concept of virtual method invocation in polymorphism in detail?
What is the size of a string in java?