Xcode, Cocoa-Java & VJDK

Brian Maher plsntbreez at mac.com
Fri Feb 6 07:33:01 CST 2004


Hi Jochen,

Thanks for the response.  I found that document (along with others) last night and have temporarily placed the jnilib in ~/Library/Java/Extensions (or maybe ~/Library/Extensions/Java) and it does work.  Unfortunately, it appears that the comment in that document that says that your .app's Contents/Resources/Java directory is searched does not work (this is where I had the build process placing the file initially).

So, for now (development) I am ok.  I do still need to deployment resolution.

One thought I had (but have not tested) is if I do a System.load of the library myself and specify the full path to the jnilib would this work?  By that I mean, when your code does a loadLibrary call will Java realize that the library has already been loaded and not attempt to load it again then return a reference to the previously loaded copy?

Thanks, Brian



More information about the Valentina mailing list