Matthias Klose wrote:
Currently os_linux.cpp defines DEFAULT_LIBPATH hard-coded to "/lib:/usr/lib";
with the upcoming multiarch changes in Debian/Ubuntu, libraries will move to
multiarch aware locations [1], where these libraries are not found anymore by
the class loaders.
So is the issue that java.library.path isn't going to be set correctly
when libraries are migrated to this new layout? Just wondering if the
setup of the search path (in os::init_system_properties_values would be
better place to do consider this). A concern with changing
System.loadLibrary is that it has a wider impact.
-Alan.