Linking to libjava.so
Hans de Goede
j.w.r.degoede at hhs.nl
Fri Sep 21 06:02:40 UTC 2007
Orion Poplawski wrote:
> I'm trying to package up a java package for octave that links to
> libjava.so. Problem I'm having is that when octave tries to load the
> module at run time it can't find libjava.so. How should this be remedied?
>
> libjava.so is installed in:
>
> /usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0/jre/lib/i386/libjava.so
>
>
Or preferably use
/usr/lib/jvm/java/jre/lib/$JAVA_ARCH/libjava.so
So that it will work with gcj too, I currently ise %ifarch's in my spec to set
$JAVA_ARCH, as for example x86_64 is called amd64 in java terms.
Regards,
Hans
More information about the fedora-devel-list
mailing list