> Jacob Nikom writes:
Jacob> Vijo Cherian wrote:
>>
>> i did everything as mentioned...
>> and at `java HelloWorld` , i got the following error
>>
>> vijol@darkstar] ~/jni$ java HelloWorld
>> Exception in thread "main" java.lang.UnsatisfiedLinkError: no hello in
rom: Jacob Nikom [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 14, 1999 3:07 AM
To: Vijo Cherian; Java-Linux listserver
Subject: Re: JNI on linux.
Hi,
I am pretty sure, if you remove your libhello.so library
completely from your directory, you are going to get exactly
the same message. It means
Hi,
I am pretty sure, if you remove your libhello.so library
completely from your directory, you are going to get exactly
the same message. It means that your loader cannot find your
library libhello.so, even if it is in the directory.
I don't think LD_LIBRARY_PATH matters. Verify that you
h
There is no real difference between JNI on Linux and JNI on other
operating
systems (and not suppose to be). Look at Sun Java tutorial on JNI:
http://java.sun.com/docs/books/tutorial/native1.1/index.html
Take the source code for HelloWorld example and follow the instructions:
after the first step