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

Explain how can os authentication be connected with weblogic jdriver for oracle and connection pools?

0 Answers  


How you deploy your applications on weblogic server?

0 Answers  


What are stubs and how do they function in a web logic cluster?

0 Answers  


Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection? : BEA Weblogic

0 Answers  


Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean? : BEA Weblogic

0 Answers  






What are Monitoring tools?

0 Answers  


What is achieved through clustering?

0 Answers  


What are the causes of having ociw32.dll error in the database of web logic server?

0 Answers  


How can default JVM be changed to other?

0 Answers  


How do I configure weblogic to use a socks proxy? : BEA Weblogic

0 Answers  


How do we generate a digital certificate

2 Answers  


Can I start a managed server if the administration server is unavailable?

1 Answers  


Categories