Hi !

On Jan 11, 2007, at 9:41 AM, Frédéric JECKER wrote:

Moin List,

Does anyone already achived to use native libraries in a webobject project ?

Sure !
Personally I have this in one of my classes :


    static {
        // Ensure native JNI library is loaded
        System.load(PATH_LIBRARIES_AND_APIS + "lib.jnilib");
    }

    native static boolean nativeMethod(String arg, String other);




I've tested a lot of solutions and I keep getting java.lang.UnsatifiedLinkException telling me that my native
library cannot be found.
When using the same objects and native libraries in a command line project it works fine !

Is there a specific directory in which I should place my dlls ?

Thanks

Fred
PPlease consider the environment - do you really need to print this email ?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/fabrice% 40easyshadow.com

This email sent to [EMAIL PROTECTED]



www.easyshadow.com

International Corporate Consulting
Palais de la Scala
1 avenue Henri Dunant
Suite 1155
MC - 98000 Monaco

Skype: fabrice.pipart
Tel.  +377 97 98 21 04 (direct)
Fax. +377 97 70 88 07


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to