Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.kamp.net!newsfeed.kamp.net!news.qsc.de!zen.net.uk!hamilton.zen.co.uk!prichard.zen.co.uk.POSTED!not-for-mail Date: Fri, 15 Jul 2011 15:25:10 +0100 From: RedGrittyBrick User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: Need help with Unsatisfied Link Error References: <23c027pp1c89q50m3aqgi84qp605451ivm@4ax.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Lines: 41 Message-ID: <4e204dc8$0$2490$db0fefd9@news.zen.co.uk> Organization: Zen Internet NNTP-Posting-Host: dfcfe59c.news.zen.co.uk X-Trace: DXC=[99=EDSIjJ7^YB8BB:[QQ60g@SS;SF6n7R9OH0:RnEN4^H1>nCeEc=1FJPo[XSAIj0bDfEcecWSX> X-Complaints-To: abuse@zen.co.uk Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6209 On 15/07/2011 15:04, Rhino wrote: > > "Roedy Green" wrote in message > news:23c027pp1c89q50m3aqgi84qp605451ivm@4ax.com... >> On Fri, 15 Jul 2011 03:35:32 +0000 (UTC), Ten Blade >> wrote, quoted or indirectly quoted someone >> who said : >> >>> UnsatisfiedLinkError: >> >> These are surprisingly difficult to track down. See >> http://mindprod.com/jgloss/runerrormessages.html#UNSATISFIEDLINKERROR > > > Something really critical for me to know here is whether it is indeed > possible for a Java program to link with a DLL in a cab file. As I understand it, Windows cabinet files (.cab) are intended for use by an application installer, not by another application. The installer would normally extract DLLs from a cabinet file and install them into the correct place. For this reason I'd be surprised if JNI had some general way of knowing which cab files might contain a needed DLL. > I'm not > even positive I have the right file so I'd like to be sure that linking > to the DLL is possible in the first place, particularly when it is > within a cab file. Perhaps I need to copy it from the cab file into a > directory? Or can Java 'see' DLLs in a cab file the same way it can read > class files in a jar? "Java Uno is the implementation of Uno (Runtime, Core Components, utilities) for Java. Java Uno interoperates with Binary Uno via the JNI - Binary Uno bridge" Are you certain you have properly 0installed Binary UNO? -- RGB