I am writing using JNI to translate web based queries generated in Java classes to C based queries over a socket connection. Right now all the classes are in the same directory as much of the other C code. At first, I had an unsatisfied link error due to not setting the proper java library path, but I fixed that. I am still getting an unsatified link error, but this time in java's main method when invoking the native "submitQuery" method. I haven't been able to figure out how to resolve this one. Any assistance would be much appreciated. This is being compiled and run on a Solaris machine.