[fedora-java] Re: ld doesn't know about location of libjvm
David Walluck
david at zarb.org
Mon Oct 30 14:49:33 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thomas Fitzsimmons wrote:
> If you'd like to require any JPackage JRE then the architecture string
> may be a little different (e.g., amd64 vs. x86_64) but the location will be:
>
> /usr/lib/jvm/jre/lib/$arch/client/libjvm.so
>
> If you'd like to support other types of JDK installations like /opt or
> /usr/java then you'll have to do a runtime search.
There is also %{java_home} which uses java-functions to find JAVA_HOME,
so you could do:
%{java_home}/jre/lib/amd64/client
or
%{_jvmdir}/java/jre/lib/amd64/server
- --
Sincerely,
David Walluck
<david at zarb.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org
iD8DBQFFRhD9N5thZBYlTwkRAl6UAJ0ck5rwNB0lkEj+H21Pl5m5cx2QNQCePi+y
a3Ioz5y2xfE9Pis/i/KGBu0=
=2EO/
-----END PGP SIGNATURE-----
More information about the fedora-devel-java-list
mailing list