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

What happens if acknowledge() is called within a transaction? : BEA Weblogic

0 Answers  


how will u check process id?

8 Answers   IBM, TCS,


How do an rmi-iiop application and an existing corba object interoperate? : BEA Weblogic

0 Answers  


What is advantage if silent mode installation...urgent..need answer to this question

3 Answers   IBM,


How are multi-byte characters used with weblogic jdriver?

0 Answers  






Explain Abt ur wls environment in ur company ?How to answer this question?

4 Answers   HCL,


How do I configure jms security? : BEA Weblogic

0 Answers  


What is config.xml.booted file.

1 Answers   HCL, HP,


How do I start wls and configure jms? : BEA Weblogic

0 Answers  


What are the types of gc and in which different scenarios each should be used?

0 Answers  


What are middleware servers?

0 Answers  


What can be the reasons of server hang?

0 Answers  


Categories