----- Original Message ----- 
From: Chao Liu <[EMAIL PROTECTED]>
To: Weiqi Gao <[EMAIL PROTECTED]>
Sent: Tuesday, April 10, 2001 4:50 PM
Subject: Re: JNI for linux


> Oh,my god.
> it is ok,ok.
> I use java -Djava.library.path=. 
> thanks
> ----- Original Message ----- 
> From: Weiqi Gao <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, April 10, 2001 12:03 PM
> Subject: Re: JNI for linux
> 
> 
> > > 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.path
> > >         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
> > >         at java.lang.Runtime.loadLibrary0(Runtime.java:749)
> > >         at java.lang.System.loadLibrary(System.java:820)
> > >         at JavaCallC.<init>(JavaCallC.java:6)
> > >         at JavaCallC.main(JavaCallC.java:17)
> > 
> > Try
> >   javac -Djava.library.path=. JavaCallC
> > 
> > -- 
> > Weiqi Gao
> > [EMAIL PROTECTED]
> > 
> > 
> > ----------------------------------------------------------------------
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > 
> 
N…
I@R  隊[h«Ú–)îÆ·ª¹ë-«ÚnVœ‘Ú0žŠàÂ+ajË›ç-¡û§²æìr¸›y:è¹¹^
‰íiËdj¹[•§$vŒ'¢¸

Reply via email to