Quantlib-SWIG (Java) test error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Quantlib-SWIG (Java) test error

benedict 1
Hi All,

so sorry that I am posting a simple question here. I am new to Quantlib-swig(java). I have run the methods posted by the Skwash project in Eclipse to generate the java .class and .java files in my QuantlibJavaWrapper and also the quantlib.cxx file in QuantlibCppWrapper. However, I cannt run the test suite for the SwapValuation.java as it prints out the error.

SwapValuation failed
java.lang.UnsatisfiedLinkError: no QuantLibCppWrapper in java.library.path
      at java.lang.ClassLoader.loadLibrary(Unknown Source)
      at java.lang.Runtime.loadLibrary0(Unknown Source)
      at java.lang.System.loadLibrary(Unknown Source)
      at org.quantlib.examples.SwapValuation.main(SwapValuation.java:7)


I realise one strange thing for my QuantlibCppWrapper Project.
1.   It has no Debug file.
2.   The file prsent there is quantlib.cxx, and quantlib.h.


This means the only PATH I include in the run configuration of SwapValuation.java is in the Quantlib/Debug,   but not the QuantlibCppWrapper\Debug as it is missing.

I hope someone can help me as I have been trying this for almost 1 week and came up to no solution for this. I believe I am probably just missing one step. Will any kind souls give me a hand on this ??

Will appreciate your help very very very much.
Thank you


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users