[Kde-java] Problems with KDE Java on MacOS X

George Russell george.russell at clara.net
Tue Mar 2 23:14:39 CET 2004


Adrian Petru Dimulescu wrote:

> On Tuesday 02 March 2004 21:36, George Russell wrote:
> 
>>Unlike in Linux, the JVM does not pick up the presence of the libraries
>>indicated by the LD_LIBRARY_PATH or the DYLD_LIBRARY_PATH
> 
> 
> Hi, I have no idea how MacOsX works, but have you tried executing java with 
> -Djava.library.path=... ? 
> 
Yes, the JNI library must follow the naming convention of a .jnilib 
suffix for this to be recognised on OSX.

As of 3.2, the suffix on OSX is dylib for the shared library.  This is 
solvable merely by creating appropriately named symbolic links that 
reference the dylib files.

George


More information about the Kde-java mailing list