I'm wrinting Junit tests and for a specefic actions I need to give path the the java library "pst.dll"
I set it from eclipse->run config->VM arguments and I set the path to pst.dll
the problem is , I have to do it for each testcase otherwise I get :
Exception in thread "Thread-13" java.lang.UnsatisfiedLinkError: no pst in java.library.path
.
Is there a way to put the path to the pst.dll for all test cases? or for the project to avoid to add it each time ?
thanks.
Set the VM options for the JRE you are using to execute the test cases in eclipse. Go to Window -> Preferences -> Java -> Installed Jre's and configure this option in the respective JDK/JRE.