Gentoo Archives: gentoo-java

From: "Petteri Räty" <betelgeuse@g.o>
To: Vlastimil Babka <caster@g.o>
Cc: Gentoo Java <gentoo-java@l.g.o>
Subject: Re: [gentoo-java] Patch for LIBRARY_PATH support in gjl
Date: Mon, 14 May 2007 10:28:09
Message-Id: 46483987.3000601@gentoo.org
In Reply to: Re: [gentoo-java] Patch for LIBRARY_PATH support in gjl by Vlastimil Babka
1 Vlastimil Babka kirjoitti:
2 >
3 > Only LD_LIBRARY_PATH was affecting the output, and setting a
4 > -Djava.library.path has overriden it. Including the defaults of JDK!
5 > That's probably another problem, maybe it should also add LDPATH from
6 > the VM's env file?
7 > And related to https://bugs.gentoo.org/show_bug.cgi?id=125563 add some
8 > sane defaults like /lib:/usr/lib ...
9 >
10
11 Or we just append to LD_LIBRARY_PATH in gjl:
12
13 betelgeuse@pena ~/test/java $ LD_LIBRARY_PATH="/testing/testing/" java
14 -Djava.library.path=foobar pathtest
15 library path: foobar
16 betelgeuse@pena ~/test/java $ LD_LIBRARY_PATH="/testing/testing/" java
17 pathtest
18 library path:
19 /opt/sun-jdk-1.6.0/jre/lib/i386/server:/opt/sun-jdk-1.6.0/jre/lib/i386:/opt/sun-jdk-1.6.0/jre/../lib/i386:/testing/testing/:/usr/java/packages/lib/i386:/lib:/usr/lib
20
21 Anyone know that this is fox?
22 /usr/java/packages/lib/i386
23
24 Regards,
25 Petteri

Attachments

File name MIME type
signature.asc application/pgp-signature