what are the benefits of classpath?

Answers were Sorted based on User's Feedback



what are the benefits of classpath?..

Answer / mohit

There are two important environment variables for execution of any command:

1. PATH: this thould have list of all the paths where your executable files are present and you wish to execute them directly (w/o giving complete path).

2. CLASSPATH: this should have list of all the paths where the dependent classes, etc are present which can be used by your executable file.


Hence by defining CLASSPATH you let your executabe file to find its dependencies in paths mentioned in CLASSPATH.

Is This Answer Correct ?    9 Yes 0 No

what are the benefits of classpath?..

Answer / aravind

When you want to compile a Any java program
Java Compiler (JVM) looks for the class path, when it
identifies the class path JVM invokes java API's, related
classes and other library files required to compile java
program.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Weblogic Interview Questions

If SSL is configured then which key is send to the client?

3 Answers   TCS,


what happen when we give www.abc.com in url(what is process)

4 Answers   HCL, IBM,


A client wants to preserve the reference to the ejbhome object of an enterprise bean instance and use it later. Which of the following can be serialized for this purpose? : BEA Weblogic

1 Answers  


What is meant by thread dump and how can we take?

1 Answers  


Must ejbs be homogeneously deployed across a cluster? Why?

1 Answers  


How to change from default JVM to other ?

1 Answers  


What oracle weblogic server includes?

1 Answers  


What are the different weblogic installation types?

1 Answers  


What are the capabilities of weblogic server?

1 Answers  


How do I create a producer pool? : BEA Weblogic

1 Answers  


How to upgrade the latest patches in weblogic?

1 Answers  


What is the difference between url instance and urlconnection instance?

1 Answers  


Categories