I am having an ODEjava based project on windows that I want to run on Mac OS X.
The application runs as a (signed) applet by a regular (non admin) user.
I manage to load the odejava.jnilib to a folder on the client computer and load it into the application. However, on runtime the app tries to load the libode.dylib from /usr/lib and the problem is that my applet has no privilage to download the libode.dylib into /usr/lib in order for it to be loaded by the JNI code.
I wander if:
- Can I specify a non-system place for libode.dylib to be placed and loaded from? how?
- alternatively is there a way to staticly link the ode lib with the JNI code so that no dynamic loading is required?
Thanks