Thread corrupt

1999-01-12 Thread Fan Howard-W12211
Hello all, I wrote an application running under RedHat 5.1 and JDK1.1.7a1. It randomly causes core dump and file corruption with following message: -- SIGSEGV 11* segmentation violation stackbase=0x4137a000, stackpointer=0x41379cac F

don't understand JNI

1998-08-12 Thread Fan Howard-W12211
Hello, I run into problem with JNI. Seems it can't set field variable, nor can it be used in Thread. Here's my program: //HelloWorld.java import java.lang.*; class HelloWorld extends Thread{ int fd=-1; public native void displayHelloWorld(); public native void sayFd(); public void run()