This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Dynamic class loading


Tom Tromey wrote:

> Suppose you are looking for a class quux.foo.bar.
> The system class loader will first look for a .so named quux-foo-bar.so.
> If that fails (either not found, or doesn't provide the class), it
> will look for quux-foo.so.
> Then it will look for quux.so.

And, of course, it searches for these .so files on LD_LIBRARY_PATH, not
CLASSPATH. Personally I'm not sure that confusing the two is really a good idea.
CLASSPATH is for class files, not system-dependent native code. And if we start
putting .so's on there, it could potentially cause problems with existing java
applications.

  [ bryce ]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]