Re:
Re:
- Subject: Re:
- From: Zak Burke <email@hidden>
- Date: Wed, 03 Nov 2004 10:16:33 -0600
IIRC, Java looks for shared library files using the environment
LD_LIBRARY_PATH, which should resolve to a directory (e.g.
/System/Library/Java/Extensions). So you have to
1. expose that variable to WO and
2. make sure that's where you've stashed your .so files.
I haven't tried this in WO myself, but I remember being lost for a
long time until I learned about LD_LIBRARY_PATH.
zak.
Erwin wrote on 11/3/04 8:23 AM:
I get
/Error: Class ConvertImagePage could not be found./
What I don't realize is how to 'duplicate' the JNISample process into WO
IN JNISample, the java main programme JNISample.java load the Example
JNI Library
static { System.loadLibrary("Example"); }
then in the main, a JNISample instance is created and the call to the
native_method is performed
public static void main (String args[]) {
JNISample jniexample = new JNISample();
int result = jniexample.native_method("Hello World !");
System.out.println("Finished JNISample. Answer is " + result);
}
Do you know if it's feasible in WO ?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden