Re: JNI for linux

2001-04-10 Thread Weiqi Gao
On 09 Apr 2001 23:03:11 -0500, Weiqi Gao wrote: > > Try > javac -Djava.library.path=. JavaCallC Of course, it should have been "java -Djava.library.path=. JavaCallC". -- Weiqi Gao [EMAIL PROTECTED] -- To UNSUBSCRIBE, email

Re: JNI for linux

2001-04-09 Thread Weiqi Gao
> Chao Liu wrote: > > A problem was happened when I use JNI in linux to call my c programme. > I used jdk1.3 and the following is my little test programm: > > [...] > System.loadLibrary("javac"); > [...] > > Exception in thread "main" java.lang.UnsatisfiedLinkError: no javac in > java.library.p

RE: jni for linux

1999-06-29 Thread Marcel Ruff
Hi, To use JNI you only need the blackdown JDK. I have attached some files how i always test the JNI on Linux: C++ calling JDK 2 Awt. the almost same example works with JDK 1.1.7 as well. regards Marcel HelloWorldAwt-1.2.tar.gz