From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1Ebeuo-00039n-PN for garchives@archives.gentoo.org; Mon, 14 Nov 2005 14:02:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAEE1TOs030885; Mon, 14 Nov 2005 14:01:29 GMT Received: from gw01.mail.saunalahti.fi (gw01.mail.saunalahti.fi [195.197.172.115]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAEE1SoL019661 for ; Mon, 14 Nov 2005 14:01:28 GMT Received: from [192.168.150.87] (YYYMMMCCII.dsl.saunalahti.fi [85.76.10.103]) by gw01.mail.saunalahti.fi (Postfix) with ESMTP id 824DCFE2CC; Mon, 14 Nov 2005 16:01:26 +0200 (EET) Message-ID: <437898B3.7040207@gentoo.org> Date: Mon, 14 Nov 2005 16:01:23 +0200 From: =?UTF-8?B?UGV0dGVyaSBSw6R0eQ==?= User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051028) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 To: Ted Kosan CC: gentoo-java@lists.gentoo.org Subject: Re: [gentoo-java] Adding native library path to system VM References: <20051113223634.32956.qmail@web31806.mail.mud.yahoo.com> In-Reply-To: <20051113223634.32956.qmail@web31806.mail.mud.yahoo.com> X-Enigmail-Version: 0.92.0.0 OpenPGP: url=http://users.tkk.fi/~praty/public.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig52D397E555D13E4C6CC44A44" X-Archives-Salt: c4fd1379-596e-46e0-b343-88644e0308e1 X-Archives-Hash: 2ae7ee5da6f41a1cc88580ca7ac0dd48 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig52D397E555D13E4C6CC44A44 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ted Kosan wrote: > Hello, >=20 > I recently emerged the dev-java/rxtx package and it installs native lib= raries > into /opt/rxtx-2/lib/ >=20 > My question is, how is this path added to the system's VM so that the n= ative > libraries in it can be found? >=20 > I used java-config to add the package's jar to the system's classpath (= > CLASSPATH=3D/usr/share/rxtx-2/lib/RXTXcomm.jar ) but I did not see any > java-config options that could be used to add native libraries to the s= ystem > VM. >=20 > I am currently using sun-jdk-1.5.0.05. >=20 > Thanks in advance :-) >=20 > Ted Kosan > java.net Embedded Java community co-leader > tkosan@dev.java.net java-config --library rxtx2 aria betelgeuse # java-config -i rxtx-2 /opt/rxtx-2/lib It is the job of the applications using rxtx to call this in their startup scripts. You should not set a system wide classpath, that is deprecated and not supported by the java team. Regards, Petteri R=C3=A4ty --------------enig52D397E555D13E4C6CC44A44 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDeJi2cxLzpIGCsLQRAlaKAJ0Xq3fWhyOtIb3IiO7I/hwgxU0F0gCgkne8 7NAoxoT+9Z496YYPJwENeYk= =tXhR -----END PGP SIGNATURE----- --------------enig52D397E555D13E4C6CC44A44-- -- gentoo-java@gentoo.org mailing list