Calling native methods in Java

Samarjeet S Tomar tomar at
Wed Jun 16 12:51:26 PDT 1999

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:
        at spec/harness/ProgramRunner.runBenchmark(line unknown, pc 0)
        at spec/harness/
        at spec/harness/
        at SpecApplication.runBenchmark(255)
        at SpecApplication.main(171)

It is running fine with java though.
How can I make it run ?


tomar at

More information about the kaffe mailing list