I am interested in using QuantLib under Java.
I downloaded QuantLib-SWIG-1.5.zip, unzipped it and found the java
source files.
I downloaded QuantLib-1.5.zip, unzipped it and found VC++ source
files.
I used Eclipse, create a QuantLib project and added all the java
source files and created
a QuantLib jar file.
I used VC++ 2013 to compile an x64 DLL called QuantLibJNI.dll. I
used this name because
the EquityOptions.java code loaded a lib called QuantLibJNI.
I created a java project in Eclipse and copied the
EquityOptions.java example code into
my source file and put the dll in my project directory. I also added
QuantLib.jar to my
project.
When I run the example, the dll seems to load but I get the
following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
org.quantlib.QuantLibJNI.swig_module_init()V
at org.quantlib.QuantLibJNI.swig_module_init(Native Method)
at
org.quantlib.QuantLibJNI.<clinit>(QuantLibJNI.java:4190)
at org.quantlib.Option$Type.<clinit>(Option.java:39)
at quantlibtest.qltest.main(qltest.java:64)
Any suggestions?
--
Thanks,
Dana
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users