Re: NewObjectArray

2001-04-10 Thread Calvin Austin
The last element is the initializer for the array, I wrote an example of its use here http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/jnistring.html regards calvin Zhihong Pan wrote: > > Could anybody teach me hot to use NewObjectArray in jni ? > jarray NewObjectArra

NewObjectArray

2001-04-10 Thread Zhihong Pan
Could anybody teach me hot to use NewObjectArray in jni ? jarray NewObjectArray(JNIEnv *env, jsize length, jclass elementClass, jobject initialElement); I'm really confused by the last parameters. Thanks, Zhihong Pan Chek, Inc

shared library

2001-04-10 Thread soonho
Hi all,   1. Where can I find out more details about dl interface(load, use, unload shared library)? any manual or URL?     2. We know that JNI need to create .so shared library file. Could we load, use this file? E.g. I created fromjava.java and fromjavaImp.c.   I compiled fromjava by      

Re: JNI for linux

2001-04-10 Thread Weiqi Gao
On 09 Apr 2001 23:03:11 -0500, Weiqi Gao wrote: > > Try > javac -Djava.library.path=. JavaCallC Of course, it should have been "java -Djava.library.path=. JavaCallC". -- Weiqi Gao [EMAIL PROTECTED] -- To UNSUBSCRIBE, email

Fw: JNI for linux

2001-04-10 Thread Chao Liu
- Original Message - From: Chao Liu <[EMAIL PROTECTED]> To: Weiqi Gao <[EMAIL PROTECTED]> Sent: Tuesday, April 10, 2001 4:50 PM Subject: Re: JNI for linux > Oh,my god. > it is ok,ok. > I use java -Djava.library.path=. > thanks > - Original Message - > From: Weiqi