Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1043

June 28th, 2012 13:00

native library question for Java program

Did anyone run testing java program from eclipse sucessfully before?  My delima was I have to put those native FP*.dll into C:\windows\system32, so the test cases will be able to run in Eclipse.  Otherwise, I tried to put those dll at the same location as FPLibrary.jar Or add VM argument as -Djava.library.path Or change native library location in FPLibrary.jar, I would get unsatisfiedLinkError all the time.

Any insights would be greatly appreciated.


208 Posts

June 28th, 2012 13:00

Hello ahsin -

I set the PATH variable (in Windows; LD_LIBRARY_PATH in Linux) in the Environment tab of my Eclipse Debug/Run configuration to include the path to the native libs and Bob's your uncle!

Good Luck,

Mike Horgan

No Events found!

Top