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

Re: Linking to libjava.so



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


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