[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#163390: JNI Installation Directories (again)



Hi

On Mon, Nov 04, 2002 at 07:44:57PM +1100, Ben Burton wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> > > My argument for /usr/lib/jni is that other programs aren't going to want
> > > to link with them, so it's better not to clutter up the default shared
> > > library paths.
> >
> > And I assume that no changes have to be made in /etc/ld.so.conf (or
> > similar)?
> 
> Correct; no changes are necessary.

Ok.

> > > Yep, that and to also have the JVMs support this single place by
> > > including it in the default java.library.path.
> >
> > Is this possible?
> 
> Sure.  If nothing else, you can do it by replacing your java runtime command 
> with a short startup script that looks for -Djava.library.path=foo on the 
And this works with kaffe, ibm-jdk, blackdown and sun jdk?

If so I'll think it is ok.

> command line.  If such a path is given (and does not contain /usr/lib/jni), 
> modify this option to be -Djava.library.path=/usr/lib/jni:foo.  If no such 
> path is given, add an extra option -Djava.library.path=/usr/lib/jni.  Then 
> call your real java runtime command with your new modified set of options.

This have to be mentioned in policy. Or maybe not. It should be quite
obvious that you have to make such things.

Regards,

// Ola

> Ben.
> 
> - -- 
> 
> Ben Burton
> benb@acm.org  |  bab@debian.org
> Public Key: finger bab@db.debian.org
> 
> There is only one thing in the world worse than being talked about, and
> that is not being talked about.
> 	- Oscar Wilde
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQE9xjOOMQNuxza4YcERAsQzAKCMUs74cxHT+32L9Sk+m6HlLOIedQCfWZ3V
> Wr+oU5tbwVassFyEwVctWNQ=
> =KWC2
> -----END PGP SIGNATURE-----
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-java-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal@debian.org                     Annebergsslingan 37      \
|  opal@lysator.liu.se                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



Reply to: