What are the two environment variables that must be set in order to run any java programs?



What are the two environment variables that must be set in order to run any java programs?..

Answer / Rajesh Mathpal

The two necessary environment variables for running Java programs are JAVA_HOME, which specifies the root directory of the JDK, and PATH, which includes the bin directory of the JDK.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Define immutable object?

1 Answers  


Describe the syntax of multiple inheritance? When do we use such an inheritance?

1 Answers   Fidelity,


Explain different ways of creating a thread. Which one would you prefer and why?

1 Answers  


Which class is the superclass for every class in java programming?

1 Answers  


What are the supported platforms by java programming language?

1 Answers  


What is the function of character?

1 Answers  


Accenture NJ mostly ask question on Collection like 1)How to sort Objcts and how treeset sort them 2)Explain mechanism of Hashcode finding in Java 3)Name some of the Sorted collection.

2 Answers   Accenture,


What is files manifesting?

1 Answers  


What is string english?

1 Answers  


How to restrict a member of a class from inheriting by its sub classes?

1 Answers  


What is methodological theory?

1 Answers  


Is math class static in java?

1 Answers  


Categories