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
> 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
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