I have meet the question about java programming on linux platform.
I will load 'hello.so' file in hello.class in following statement:
static {
System.Loadlibrary("hello"):
}
but when run hello.class by typing 'java hello',system show the following:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no hello in
java.library.path
.....
And I try another method :'java -Djava.library.path=. hello'
system show the same message.
What is wrong?
I need your help!
Thank you very much!
Boris :-)
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]