java.lang.UnsatisfiedLinkError: no xxx in java.library.path

Michael McMahon michael.x.mcmahon at oracle.com
Thu Feb 16 07:31:16 PST 2012


On 16/02/12 14:53, Tobias Bley wrote:
> yes, xxx is a native library located in the current working directory. The problem is that this library is found with Apples JDK 6 and with the first versions of OpenJDK7 if I specify the property -Djava.library.path=.
>
> But now with the current version Open JDK7u4 it doesn't work no longer :(
>
That seems to work for me. Which build are you using exactly?

- Michael

> Best regard,
> Tobi
>
>
>
>
> Am 16.02.2012 um 15:45 schrieb Michael McMahon:
>
>> Is xxx a native library located in the current working directory where you
>> start your app?
>>
>> If so, then it appears that "." was included as a default search location in Apples Java,
>> but isn't in jdk7u4. Can you put the directory name explicitly in DYLD_LIBRARY_PATH?
>> It should find it then. We're investigating what to do about this.
>>
>> - Michael
>> On 16/02/12 13:50, Tobias Bley wrote:
>>> Hi,
>>>
>>> when I start my java application with current open jdk7u4 I get the following exception
>>>
>>> java.lang.UnsatisfiedLinkError: no xxx in java.library.path
>>>
>>> Is there anything that has been changed with the java.librar.path property?
>>>
>>> Best regards,
>>> Tobi
>>>
>>>
>>>
>>>
>>>
>>>
>>>



More information about the macosx-port-dev mailing list