Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #6209

Re: Need help with Unsatisfied Link Error

Date 2011-07-15 15:25 +0100
From RedGrittyBrick <RedGrittyBrick@spamweary.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Need help with Unsatisfied Link Error
References <Xns9F22EFFCDEABCtenblade@46.4.102.18> <23c027pp1c89q50m3aqgi84qp605451ivm@4ax.com> <ivphcs$90i$1@speranza.aioe.org>
Message-ID <4e204dc8$0$2490$db0fefd9@news.zen.co.uk> (permalink)
Organization Zen Internet

Show all headers | View raw


On 15/07/2011 15:04, Rhino wrote:
>
> "Roedy Green" <see_website@mindprod.com.invalid> wrote in message
> news:23c027pp1c89q50m3aqgi84qp605451ivm@4ax.com...
>> On Fri, 15 Jul 2011 03:35:32 +0000 (UTC), Ten Blade
>> <ten.blade@tenblade.com> 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

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Need help with Unsatisfied Link Error Ten Blade <ten.blade@tenblade.com> - 2011-07-15 03:35 +0000
  Re: Need help with Unsatisfied Link Error Roedy Green <see_website@mindprod.com.invalid> - 2011-07-15 05:27 -0700
    Re: Need help with Unsatisfied Link Error "Rhino" <no_offline_contact_please@example.com> - 2011-07-15 10:04 -0400
      Re: Need help with Unsatisfied Link Error RedGrittyBrick <RedGrittyBrick@spamweary.invalid> - 2011-07-15 15:25 +0100
        Re: Need help with Unsatisfied Link Error Ten Blade <ten.blade@tenblade.com> - 2011-07-15 20:01 +0000
      Re: Need help with Unsatisfied Link Error Roedy Green <see_website@mindprod.com.invalid> - 2011-07-16 00:45 -0700

csiph-web