java library installation issues

Tom Tromey tromey@redhat.com
Wed Apr 4 16:44:00 GMT 2001


>> The `L.so' in this case should probably follow the naming scheme we
>> adopted for the `.so' files that Class.forName will automatically try
>> to load.  That will make it so that the linker and Class.forName will
>> agree -- it won't matter to the end program whether a class is loaded
>> at runtime or at link time.

Per> Do you have a write-up of this?

Nothing formal :-(.

Here is the comment in natClassLoader.cc:

      // Turn `gnu.pkg.quux' into `gnu-pkg-quux'.  Then search for a
      // module named (eg, on Linux) `gnu-pkg-quux.so', followed by
      // `gnu-pkg.so' and `gnu.so'.  If loading one of these causes
      // the class to appear in the cache, then use it.

Tom



More information about the Java mailing list