From: Luigi B. <lui...@gm...> - 2013-01-30 08:27:23
|
The example works on my machine, but I'm running Linux. I'm afraid I have no clue on what's happening... Ideas, anyone? Luigi On Wed, Jan 30, 2013 at 3:07 AM, 静涛 王 <qui...@ou...> wrote: > Hi Luigi > > thanks for the replay. > I have searched the mail list before i ask the question. > I think the dll has been correctly loaded. Because the other class such as > Date could return the value. > > I have saw (http://www.swig.org/Doc1.3/Java.html). but unfortunatly i > couldn't found the solution. > I followed the attach files to make the JNL. > I also tryed the (http://www.bnikolic.co.uk/ql/java.html) builds. but also > has the question. > EquityOptions.java could correctly run in your machine? > if could. didn't you share your dll and jar? > > thanks a lot. > jingtao wang > >> Date: Tue, 29 Jan 2013 17:26:44 +0100 >> Subject: Re: [Quantlib-users] SWIG(java) UnsatisfiedLinkError >> From: lui...@gm... >> To: qui...@ou... >> CC: qua...@li... > >> >> I'm not using the Java module, but from the thread at >> <http://quantlib.10058.n7.nabble.com/Quantlib-Java-td1235.html#a1236> >> it seems that QuantLib.jar is not in your PATH. Have you checked >> that? >> >> Luigi >> >> On Sat, Jan 26, 2013 at 10:43 AM, 静涛 王 <qui...@ou...> wrote: >> > Hello, >> > I've ported Quantlib in Java with QuantLib-SWIG-1.2.zip. >> > but I got the following error(using the EquityOptions.java also has the >> > UnsatisfiedLinkError). >> > I've searched the mail list and find Paolo and Richard Gomes has the >> > same >> > question but they solved. >> > unfortunatly i couldn't found the solution. >> > >> > Exception in thread "main" java.lang.UnsatisfiedLinkError: org.quantlib. >> > quantlibJNI.new_Brazil__SWIG_1()J >> > at org.quantlib.quantlibJNI.new_Brazil__SWIG_1(Native Method) >> > at org.quantlib.Brazil.<init>(Brazil.java:43) >> > at org.jquantlib.DatesAndTimes.main(DatesAndTimes.java:80) >> > >> > and the same is for all the other calendars. >> > >> > any clue? >> > >> > Thanks, >> > jingtao wang >> > >> > >> > ------------------------------------------------------------------------------ >> > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> > MVPs and experts. ON SALE this month only -- learn more at: >> > http://p.sf.net/sfu/learnnow-d2d >> > _______________________________________________ >> > QuantLib-users mailing list >> > Qua...@li... >> > https://lists.sourceforge.net/lists/listinfo/quantlib-users >> > |