[fedora-java] Shared library paths for native linker

Andrew Haley aph at redhat.com
Fri Jan 20 17:18:59 UTC 2012


On 09/27/2011 03:52 PM, Petr Pisar wrote:
> I have a non-java package (pl) which links to jvm. Build scripts of pl
> needs to locate directories with libjava.so, libjvm.so etc. and instruct
> native linker (ld) where to find them (-L option).

Do you really need to link against a particular version of java?
Would it make sense to use /usr/lib/jvm/jre/lib/arm/ etc?  This is
independent of JDK6, JDK7, etc.

Andrew.


More information about the java-devel mailing list