I have a program that uses JNI to talk to the Attachmate Extra 3270 emulator. Running the main() method executes a little test scenario that works just fine. I copy the source file and paste it into the same package with a new name and WSAD/Eclipse renames everything ok. The copy throws UnsatisfiedLinkError exceptions.
I'm baffled. Any thoughts?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
So you are running the small test from the command line and the packaged app from inside Eclipse? That sounds like a library path problem to me. Try printing out System.getProperty("java.library.path").