what are the benefits of classpath?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the ways in which the dns request of failed servers handled?

497


What is weblogic?

612


What is the default thread stack size in windows?

548


Which types of jdbc databases does weblogic jms support? : BEA Weblogic

474


What is a machine?

563






How Can Cluster Communication Occur ?

565


What are the ways to avoid resourceexceptions when sending requests for databaseconnections?

507


What is unicast in weblogic?

509


Explain the tier architecture of a web logic server?

513


Explain The Methods For Providing User Credentials For Starting The Server ?

569


Can the bean class implement the ejbobject class directly? If not why?

489


How can I set deployment order for applications?

577


How Work Manager works in wls 9.2 and above versions?

3031


Do you know what is the purpose of t3 in weblogic server?

450


Why do I get an exception when trying to find a connection factory? : BEA Weblogic

527