UnsatisfiedLinkError

hi,

our platform is in Unix and we uses JNI to call a C-program.

when we run our Java program in shell prompt, it executes the C-program without error.

our problem is whenever we run that Java program in i-Planet, we encouter this error:

Internal error: exception thrown from the servlet service function (uri=/dummy.jsp): java.lang.UnsatisfiedLinkError: exec, stack: java.lang.UnsatisfiedLinkError: exec

we're pretty sure we've gotten passed the error of the shared library being not found because we already got passed this error:

Internal error: exception thrown from the servlet service function (uri=/dummy.jsp): java.lang.UnsatisfiedLinkError: no SystemExec in java.library.path, stack: java.lang.UnsatisfiedLinkError: no SystemExec in java.library.path

please help me on this.

thanks,

-jen

[868 byte] By [jpearlm] at [2007-9-26 8:41:10]
# 1
Code fragments, please.
bschauwe at 2007-7-1 19:28:48 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
bill,thanks for the reply.actually this error has been solved a little earlier.what my friend did is he re-compiled some java program to update the package where the java with the JNI implementation is located. -jen
jpearlm at 2007-7-1 19:28:48 > top of Java-index,Java HotSpot Virtual Machine,Specifications...