Re: My Thanks--Re: JNI Errors: Need Help

1999-07-28 Thread Jacob Nikom
Sun Tutorial is not for Linux. If you use JNI on SGI, you have to use -shared too. Jacob Nikom [EMAIL PROTECTED] wrote: > Many, many thanks. > The Sun Tutorial DOES NOT show that little trick. > > _ > Steve Gee > Java Developer > Maxor National Pharmacies > Information Technolog

My Thanks--Re: JNI Errors: Need Help

1999-07-28 Thread sgee
Many, many thanks. The Sun Tutorial DOES NOT show that little trick. _ Steve Gee Java Developer Maxor National Pharmacies Information Technologies [EMAIL PROTECTED] 806.324.5540 www.maxor.com 806.324.5400 -- T

Re: JNI Errors: Need Help

1999-07-28 Thread Juergen Kreileder
> sgee writes: sgee> Shared Library Command: sgee> cc -I/usr/local/jdk117/include -I/usr/local/jdk117/include/genunix sgee> HellWorldNative.c -o libhello.so That creates an executable, to build a shared library you have to add the '-shared' option. Juergen --

JNI Errors: Need Help

1999-07-28 Thread sgee
I am getting an error when compiling the shared library for this JNI code. Any input or advice is needed. JNI is new to me, and OE ( operator errors ) are more than likely to blame. I am however concerned because this exact code works fine on NT4.0, using Visual C++ 5.0 Compiler. OS: Redhat 6.0