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
What is the Scope of Static Variable?
What is difference between ++ I and I ++ in java?
Give us the name of the list layoutmanagers in java?
Implement two stacks using a single array.
What is array class in java?
What is the difference between Java1.4 and Java1.5
What the difference is between execute, execute Query, execute Update?
What is the difference between iterator and list iterator?
What are methods in java?
What are inbuilt functions in java?
What are the advantages of compiled language?
Why java is object oriented?
Describe different states of a thread.
What is the difference between Array and Hash Table?
What are local variables?