Hi All,

When running simple JNI program under Linux "Segmentation fault" error
occured.

I've known I can avoid it using native threads.
But when setting THREADS_FLAG to "native" javac and java either hangs or
says that can't read /proc/00116 directory.
Also changing in sh script that invokes javac
DEFAULT_THREADS_FLAG=native has the same effect.

All I've read in FAQs was to set THREADS_FLAG to native or use -native
switch (it is not recognized)

I use RedHat 6.1 kernel 2.2.12-20 , jdk117v3 glibc

All programs without using JNI and using green threads works good.

Thanks

--
Regards,
Anthony G. Starovojtov,
System Administrator of IMS Department,
Kharkov State Technical University of Radioelectronics,
pr. Lenina,14, room 254, Kharkov, 61726, Ukraine
Phone +380 572 409451 (Work), +380 572 648863 (Home)
E-mail: [EMAIL PROTECTED],  [EMAIL PROTECTED]
ICQ: 32572820;   Yahoo Messenger ID: starovojtov



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to