Re: how to use jni in sarge

2007-05-18 Thread Roberto C . Sánchez
On Fri, May 18, 2007 at 02:53:48PM -0700, Serena Cantor wrote: > I have installed gcc and jdk1.4 at /usr/local > > Which gcc command can generate shared library? > http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.

how to use jni in sarge

2007-05-18 Thread Serena Cantor
I have installed gcc and jdk1.4 at /usr/local Which gcc command can generate shared library? below is java anc C code: // class firstJNI { public native void displayHelloWorld(); public native void displayOther(); private native String getLine(String prompt); static { // S