users@glassfish.java.net

RE: Glassfish and JNI

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Wed, 21 Jan 2009 19:09:42 -0500

what is java.library.path set to?
try -Djava.libarary.path=$J2EE_HOME/jdk/jre/bin:$ORACLE_HOME/BIN

Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.




> Date: Wed, 21 Jan 2009 13:07:19 -0800
> From: glassfish_at_javadesktop.org
> To: users_at_glassfish.dev.java.net
> Subject: Glassfish and JNI
>
> Hey all. I have some Java code for my web server that is designed to load a native C library with a .so extension. I've done a few searches and I can see that other people are doing this but I'm missing a few pieces or something because I am still getting a no "NativeLibrary" found in in java.library.path error. I was wondering if anyone could point me to a tutorial that tells me how to set up Glassfish so the Java code can load the NativeLibrary or if someone knows how that would be great to.
>
> The reason I refrained from giving all the details from everything I have tried is I know I'm doing something wrong and I figure it's just easier to be told the right way and start with that.
>
> Thanks for any help in advance.
>
> **** I am running on a Linux machine and I am using Glassfish v2ur2. ****
> [Message sent by forum member 'mrgamecube' (mrgamecube)]
>
> http://forums.java.net/jive/thread.jspa?messageID=327452
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>

_________________________________________________________________
Windows Live™: E-mail. Chat. Share. Get more ways to connect.
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_012009