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

How to troubleshoot and overcome such issues?

651


Define the list of pre-configured queues?

600


What oracle weblogic server includes?

637


What is Weblogic ? (Weblogic Interview Questions)

678


What is weblogic application server?

608






How do I call a servlet with parameters in the url? : BEA Weblogic

640


Explain the concepts and capabilities of ANT ?

690


When should I use the -nostage option?

745


What is the difference between jndi lookup(), list(), listbindings(), and search()?

636


What are class paths?

605


How do you set the classpath ?

737


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

627


In a web logic server what is the domain?

609


What is the sla in prd,qa,dev.?

765


When should I use multicast subscribers? : BEA Weblogic

630