Dev. environment

1998-07-30 Thread Wes Biggs

What's a standard dev environment for classpath on linux?  I'm having a
hard time getting my JNI code to work under SBB's jdk1.1.6v2, so I'm
going to try japhar.  First call to a native method runs successfully,
second one (even with same args) dumps with SEGV while calling
strftime.  Ideas?  The only JNIEnv methods I'm using are
(Get|Release)StringUTFChars and NewStringUTF.

Just curious if this is my own damn fault or something the SBB port's
JNI implementation is trashing.

Wes







Re: Dev. environment

1998-07-30 Thread Aaron M. Renn

>What's a standard dev environment for classpath on linux?  I'm having a
>hard time getting my JNI code to work under SBB's jdk1.1.6v2, so I'm
>going to try japhar.  First call to a native method runs successfully,
>second one (even with same args) dumps with SEGV while calling
>strftime.  Ideas?  The only JNIEnv methods I'm using are
>(Get|Release)StringUTFChars and NewStringUTF.

I'm using JDK1.1.5 and it works ok.  Mostly.  You have to be very careful to
compile against its headers if you want your code to work.  Last I checked,
native code compiled against Japhar is not binary compatible with the JDK
ports.  I've noticed that trying to replace certain system classes (like
FileDescriptor) cause JDK core dumps even if there is no obvious bug in the
code.  Sorry I can't be of more help.

--
*
* Aaron M. Renn *
* Email: [EMAIL PROTECTED]  *
* Homepage: http://www.urbanophile.com/arenn/> *
*