what is the need to set path in java? how many ways to set
path in java? Explain breif?
Answer Posted / n.v.swami reddy
JAVA PATH IS COMPALASARY SET BECAUSE YOU NO SET THE PATH
JAVA PROGRAM IS DOES NOT EXECUTED.
JAVA PATH SET IN TWO WAYS THEY ARE
1.COMMAND PROMPT:
TYPE THE COMMAND
SET PATH=PATH%;d:/JAVA/BIN
d:/JAVA/BIN IS A JAVA PATH FOR SYATEM
2.TO SET JAVA PATH IN ENVIRONMENTAL VARIABLES.
1.RIGHT CLICK ON MY COMPUTER ICON SELECT
PROPERTIES.
2.SELECT THE ADVANCE TAB.CLICK ON ENVIRONMENTAL BUTTON.
3.THEN CHOOSE THE NEW OPTION
4.TPYE VARIABLE NAME AND VARIABLE VALUE
5.VARIABLE NAME IS PATH AND
VARIABLE VALUE IS"SET PATH=%PATH%"D:/JAVA/BIN
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
Can we inherit a class with private constructor?
What is a native method in java programming?
What is the functionality of the stub?
What is a double vs float?
What is primitive array?
Implement a stack with push (), pop() and min() in O(1) time.
What are disadvantages of java?
When do we use hashset over treeset?
Explain java coding standards for interfaces?
What is meant by the value of a variable?
What is high level language in computer?
Can a final variable be null?
Why do we declare a class static?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?
What are autoboxing and unboxing? When does it occur?