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 load blancing alogarthims in cluster??

0 Answers  


You are noticing a performance impact on your application and you suspect the underlying operating systemresources might be causing the issue, what steps would you take to narrow down the issue?

0 Answers  


Is it possible to set aside a message and acknowledge it later? : BEA Weblogic

0 Answers  


What are the prerequisites of starting a server?

0 Answers  


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

0 Answers  






What is the basic requirement for starting a WebLogic server?.

1 Answers   ABC Inc, CMC, HCL, Wipro,


When should I use server session pools and connection consumers? : BEA Weblogic

0 Answers  


Tell me what are the ways in which weblogic servers can run on multiple machines?

0 Answers  


Do you know how are multi-byte characters used with weblogic jdriver?

0 Answers  


Can I configure the messaging bridge to automatically downgrade the quality of service if the exactly-once service is not available on either the source or target bridge destination? : BEA Weblogic

0 Answers  


How to write a program of web logic server to get the connection pool attribute?

0 Answers  


What is a local transaction?

0 Answers  


Categories