Login  Register

Re: SWIG(java) UnsatisfiedLinkError

Posted by 静涛 王 on Jan 30, 2013; 2:07am
URL: http://quantlib.414.s1.nabble.com/SWIG-java-UnsatisfiedLinkError-tp13957p13976.html

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: [hidden email]
> To: [hidden email]
> CC: [hidden email]
>
> 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, 静涛 王 <[hidden email]> 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
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/quantlib-users
> >

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

make quantlibJNL.txt (7K) Download Attachment