64-bit java.lang.UnsatisfiedLinkError

Mike Bates sxmwb at comcast.net
Sat Apr 17 00:29:52 UTC 2010


I figured out the problem.  The library name is libLux86_64bit.so and
the code doing the load prepends lib and appends .so to the end and the
string for the load was "libLux86_64bit" which becomes
liblibLux86_64bit.so. 

Regards,
Mike

On 4/16/2010 4:22 PM, Mike Bates wrote:
> Running Fedora 12 with OpenJDK 1.6.0 x86_64.  I place the native library
> in the directory
> /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64 as I am
> suppose to and get
>
> java.lang.UnsatisfiedLinkError: no libLux86_64bit in the
> java.library.path: Check that native library libLux86_64bit is in proper
> directory
>
> The java.library.path includes
> /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64 and the
> native library is in the directory.
>
> I tried this with the 32-bit library on a 32-bit system placing it in
> the $JDK_HOME/jre/lib/i386 and it works fine, just can't get it working
> on the 64-bit system.
>
> Any thoughts or directions on how to resolve would be appreciated.
>
> Thanks,
> Mike
>
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 9.0.801 / Virus Database: 271.1.1/2814 - Release Date: 04/16/10 00:31:00
>
>   



More information about the discuss mailing list