java socket port

2001-04-02 Thread Zhihong Pan
uot;. So I have to change port number each time I want to modify my code. But if I run my code on window, I didn't get any problem. I append my code below. Can anybody help me ? Thanks in advance. Zhihong Pan Chek, Inc public class MyServer { public static void main(String[] args) thr

call c function in java

2001-04-09 Thread Zhihong Pan
Hi, In my java application, I need to call my existing c functions. There are some struct data types in my C function, how to handle these ? Thanks in advance. Zhihong Pan Chek, Inc -- To UNSUBSCRIBE, email to [EMAIL

error on calling c function in java

2001-04-09 Thread Zhihong Pan
=0x804e500 nid=0x7062 runnable # 18Aborted Could anybody help me? Thanks, Zhihong Pan Chek, Inc -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

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

memory problem of jobjectArray

2001-04-11 Thread Zhihong Pan
# # Problematic Thread: prio=1 tid=0x804e500 nid=0x1060 runnable # So, how to allocate jobjectArray memory in c. Could anybody help me ? Thanks, Zhihong Pan Chek, Inc Aborted -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject

jni link error

2001-05-15 Thread Zhihong Pan
I need jni in my java application. I created a shared library, and set my library path (export LD_LIBRARY=/home/mydir/), but I still get the following error message:java.lang.UnsatisfiedLinkError: no java_gsapi in java.library.path. Could anybody help me ? Thanks in advance, Zhihong Pan