[Bug 325506] [NEW] /usr/lib/jni not put in java.library.path

Stephane Galland galland at arakhne.org
Wed Feb 4 21:58:33 UTC 2009


Public bug reported:

The standard Debian rules about Java introduce /usr/lib/jni as the
location of the JNI libraries.

This path is not present in the default Sun JRE library path.
The only way to put /usr/lib/jni in java.library.path is to explicitly use the -D command line option or to set LD_LIBRARY_PATH environment variable.

Because the sun-java6 package is based on binaries, could it be possible
to put a wrapping script which is setting the LD_LIBRARY_PATH according
to the Debian rules? See attachment for an example. This script could be
link as an alternative in place of all the JRE's binaries.

The OpenJREs have been requested to add /usr/lib/jni directory inside
the default library path on Debian-like systems.

Best regards,
Stéphane

** Affects: sun-java6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
/usr/lib/jni not put in java.library.path
https://bugs.launchpad.net/bugs/325506
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list