Re: [Quickfix-developers] MacBook: /Library/Java/Extensions/quickfix.jar
Brought to you by:
orenmnero
|
From: Brendan B. <br...@ka...> - 2006-06-03 10:49:10
|
Mike, /Library/Extensions is specific to Mac OS X. On Windows I believe the quickfix.jar is placed in <quickfix_dir/lib/quickfix.jar. You need to add that dir to your CLASSPATH so that Java can locate the jar. HTH, Regards, Brendan On Jun 2, 2006, at 11:28 PM, Mike Gossland wrote: > Hi developers, > > I downloaded and installed the quickfix source for the first time > ever a few days ago on a PC running Windows XP. I am trying to make > sure the example apps in the /bin directory run properly. I can > get ./run_ordermatch.bat and ./run_tradeclient.bat to run with no > problem. But when I try to run the ./run_executor_java.bat, I get > exactly the same error message as above: > >> Exception in thread "main" java.lang.UnsatisfiedLinkError: create >> at quickfix.SessionSettings.create(Native Method) >> at quickfix.SessionSettings.<init>(Unknown Source) >> at Executor.main(Executor.java:40) > > I have jdk1.5.0_07 installed, but my java knowledge is virtually > nil. The PC version doesn't have a quickfix.jar file in an > Extensions directory to remove, so I don't know how to fix this. > Any suggestions of what to try next? > > Thanks, > Mike Gossland > > PS - this is my 2nd attempt to email the list with this message. > The first attempt doesn't seem to have made it. Sorry if this > becomes a duplicate. > > > At 03:43 PM 6/2/2006, Brendan Boerner wrote: > > >> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ >> html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> Hi, >> >> While I've used QF off and on for about ~3.5 years it was not until >> this Spring that I used it on a MacBook. >> >> On the MacBook (and presumably the PPC versions as well) quickfix.jar >> is installed to /Library/Java/Extensions. >> >> I don't have a PPC to test this but this apparently is a problem on >> the Intel machine: >> >> $ cd quickfix/bin >> $ ./run_executor_java >> Exception in thread "main" java.lang.UnsatisfiedLinkError: create >> at quickfix.SessionSettings.create(Native Method) >> at quickfix.SessionSettings.<init>(Unknown Source) >> at Executor.main(Executor.java:40) >> >> # removing quickfix.jar from /Library/Java/Extensions is needed >> $ rm /Library/Java/Extensions/quickfix.jar >> $ ./run_executor_java >> press <enter> to quit >> >> I thought I'd mention this in case others run into the same problem. > > > |