On 24.03.2011 15:09, Alan Bateman wrote: > 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?
Yes. > Just wondering if the setup of the > search path (in os::init_system_properties_values would be better place to do > consider this). DEFAULT_LIBPATH is only used in os::init_system_properties_values. > A concern with changing System.loadLibrary is that it has a > wider impact. ok, thanks. Matthias