Joe Sam,
Thanks for pointing that out. I actually didn't even know that. I
don't get a chance to use Java 6 very often unless I'm writing a piece
for the desktop. Always wondered why they didn't do that in the
beginning. I guess I could see some people loading ALL JAR's into one
directory and the would probably eat some memory :-).
--
James R. Perkins



On Tue, Feb 2, 2010 at 08:17, Joe Sam Shirah <joe_sam@xxxxxxxxxxxxx> wrote:

   Hi James,

One common misunderstanding, I've had it too, is that if you
give a generic path to a directory containing libraries (JAR's)
that each one will be loaded in the classpath. You have to
explicitly indicate which JAR's you want in your classpath.

   This has changed in Java 6, although there can still be bugaboos.  The
extension mechanism has also been, um, extended.  See "Understanding class
path wildcards" at:

http://java.sun.com/javase/6/docs/technotes/tools/windows/classpath.html


                                                        Joe Sam

Joe Sam Shirah -        http://www.conceptgo.com
conceptGO       -        Consulting/Development/Outsourcing
Java Filter Forum:       http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International?    http://www.jguru.com/faq/I18N
Que Java400?            http://www.jguru.com/faq/Java400

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.