Calling native methods in Java
Alexandre Oliva
oliva at dcc.unicamp.br
Thu Jun 17 01:23:16 PDT 1999
On Jun 16, 1999, Samarjeet S Tomar <tomar at cse.psu.edu> wrote:
> I want to call a native method from Java code. I have written the code,
> compiled it and created the library also. But when I run it with Kaffe it
> gives the following error :
> Failed to locate native function:
> spec/harness/Mytime.st_time()V
> java.lang.UnsatisfiedLinkError
Which platform? How did you implement the native method, with JNI?
How did you load the native class?
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists
More information about the kaffe
mailing list