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

How to make a managed server ?

0 Answers  


what is proxy? how it is used in real time?

1 Answers  


What Are The Various Types Of Weblogic Installations ?

0 Answers  


In Future how the role of WEBLOGIC in realtime ?

0 Answers   HCL,


What is the performance issue in weblogic and how can you resolve ,explain in brief

4 Answers   IBM, TCS, HCL,






Explain the functioning of Stub?

0 Answers  


Weblogic admin don't know the admin credentials of weblogic 8.1 UI..how can he get the credentials?

2 Answers   IBM,


how ITIL process occurs in weblogic?

0 Answers   Mind Tree,


what is digital certificate?

3 Answers   HCL, IBM,


How many types you configure managed server in weblogic server ?

0 Answers  


what is directory structure of any ear/war file in weblogic

1 Answers   Wipro,


What is Unicast?

0 Answers  






Categories