Re: /usr/lib/jni not put in java.library.path, sun java 5 and 6
Le mercredi 17 novembre 2010 à 10:54 -0500, Scott Howard a écrit :
> tags 382686 patch
> On Sat, Nov 13, 2010 at 10:52 AM, Scott Howard <firstname.lastname@example.org> wrote:
> > I also don't
> > know if a user setting LD_LIBRARY_PATH on their own overwrites our
> > java.library.path
> Setting LD_LIBRARY_PATH appends java.library.path, but passing
> -Djava.library.path to java overwrites java.library.path 
> > On Fri, Nov 12, 2010 at 11:57 AM, Sylvestre Ledru <email@example.com> wrote:
> >> I agree with you we should do that.
> >> I had a (too) quick look on this and doing some modifications
> >> in /etc/java-6-sun/* might fix this bug.
> sun java doesn't use a .properties file to override the system
> defaults on start up. IBM's java does , but there is no
> corresponding feature in sun java that I can find (and others
> apparently can't find it either.)
> I created a patch (attached) for the debian packaging which replicates
> what is done with javaws. I have a template in debian/ which is filled
> in to point to the correct directory, then is installed into
> /@BASEDIR/jre/bin. The original java binary is moved to java.real and
> is called by the wrapper after properly setting LD_LIBRARY_PATH
OK. Thanks for spending some time on this.
However, I don't see this change going in Squeeze. If you are OK, I will
upload your modification as soon as Squeeze is out (and also in Ubuntu).
This will allow us some deeper testing and potential side effects.
How does it sound ?