Webclient 2.0 under MacosX

"edburns" <[email protected]> 9 May 2005 18:04:35 -0700
Newsgroups gmane.comp.mozilla.devel.mac
Organization http://groups.google.com
Message-ID <[email protected]>
I'm trying to get webclient working on MacOSX!  The last time we ran
Webclient on the Mac, MacOSX didn't even exist.  I have it building,
and I need to write a little bit of Objective C for the native window
and event loop handling, but first I want to at least load the JNI lib.
 I found that I had to make the library be called libwebclient.jnilib
instead of libwebclient.dylib.  When I do this, the
System.loadLibrary() call starts to run, but ultimately fails with:

dyld:
/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/bin/java
can't open library: @executable_path/libxpcom.dylib  (No such file or
directory, errno = 2)

I read something somewhere that Java has trouble loading dependent
libraries under MacOSX so how can I fix this?

Any help would be greatly appreciated.

Ed