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

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Weblogic Interview Questions

Can an mdb be a message producer or both a producer and consumer? : BEA Weblogic

0 Answers  

What are middleware servers?

0 Answers  

Can weblogic server start with a unix boot? : BEA Weblogic

0 Answers  

What is meant by gc, prallel gc, full gc and explain it?

0 Answers  

what is the main key difference(s) between all application servers? (WebLogic and Websphere and Jboss)

1 Answers  

Can you briefly describe local interfaces?

0 Answers  

Why will the manage server goes to ADMIN Mode and Unknow Status?

8 Answers   HCL,

how to deploy the application

1 Answers   RBS, Oracle,

How can domain configuration lock be enabled and disabled?

0 Answers  

How can default jvm be changed to others?

0 Answers  

What are workload managers for?

1 Answers   HP, Logica CMG,

Can two jms servers share the same persistent store? : BEA Weblogic

0 Answers