Re: Patch for LIBRARY_PATH support in gjl

Petteri Räty <[email protected]>
Newsgroups gmane.linux.gentoo.java
Message-ID <[email protected]>
Vlastimil Babka kirjoitti:
> 
> Only LD_LIBRARY_PATH was affecting the output, and setting a
> -Djava.library.path has overriden it. Including the defaults of JDK!
> That's probably another problem, maybe it should also add LDPATH from
> the VM's env file?
> And related to https://bugs.gentoo.org/show_bug.cgi?id=125563 add some
> sane defaults like /lib:/usr/lib ...
> 

Or we just append to LD_LIBRARY_PATH in gjl:

betelgeuse@pena ~/test/java $ LD_LIBRARY_PATH="/testing/testing/" java
-Djava.library.path=foobar pathtest
library path: foobar
betelgeuse@pena ~/test/java $ LD_LIBRARY_PATH="/testing/testing/" java
pathtest
library path:
/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

Anyone know that this is fox?
/usr/java/packages/lib/i386

Regards,
Petteri
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGSDmHcxLzpIGCsLQRAqNuAJ4vHF09Hr39dON7aoCRCqO2ot0W8ACeLyIC
Ec1Yl198H49bh++OrzVufxs=
=Gfq2
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.