Re: Re: ld doesn't know about location of libjvm

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

 



-----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@xxxxxxxx>
-----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-----

--
fedora-devel-java-list mailing list
fedora-devel-java-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux