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

Re: native threads and Invocation API



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Stephane" == Stephane Bortzmeyer <bortzmeyer@pasteur.fr> writes:

    Stephane> I cannot help you on the native threads, which I don't
    Stephane> know, but otherwise, *if* the JDK requires *any*
    Stephane> environment variable (like LD_LIBRARY_PATH) to run
    Stephane> properly, this is a bug. See Policy 3.8
    Stephane> <http://www.debian.org/doc/debian-policy/ch3.html#s3.8>.

    Stephane> Otherwise, the Policy tries to make Java programs (not
    Stephane> Debian-packaged) able to run without any environment
    Stephane> variable (hence the emphasis on classes instead of jars)
    Stephane> but nothing has been done for the '.so'.

Well, it looks like the libjava.so uses it's location to figure out
what the default CLASSPATH should be, so putting it in /usr/lib or
making a symlink from /usr/lib doesn't work unless you change the
mechanism it uses to figure out the CLASSPATH.

It could add the directory the .so lives in to /etc/ld.so.conf.

- -- 
Gene McCulley                                          Voice: (407) 265-0772
mcculley@enki.org                                        Fax: (407) 265-0773
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.10 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE3z+M4K+LjkZ54DewRAiW3AKCS5TiODDKcankUT/PmcC8gwiniTQCeIx23
qSnMRuX1hqhK6i7Ts8iNj/g=
=6ctS
-----END PGP SIGNATURE-----


Reply to: