The customer reported how he fixed the problem

The zorba_api.dll has a dependency on the zlib1.dll file. When using the
zorba java api, the java tries to find this binary from the systems
%PATH folder. However, it turns out that the Intel WiFi binaries of our
windows 7 machines are also present on path folder and also contain a
zlib1.dll file. This screws up the Zorba api, because there is version
difference between the zlib1.dll of Intel WiFi (v1.2.3.0) and the one of
zorba (v1.2.5.0), and unfortunately windows 7 picks the Intel Wifi
resulting in a zorba api the failing to work.

If one removes or renames the Intel WiFi zlib1.dll then java finds the
correct dependencies and Zorba functions as it should!

** Changed in: zorba
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/928625

Title:
  java api not working on windows 7

Status in Zorba - The XQuery Processor:
  Invalid

Bug description:
  Reported by Stijn Tonk:

  We are currently testing the first implementation of the java api and
  ran into the following issue: The java api functions seems to work
  fine on Windows Vista; however on our Windows 7 machine it give the
  following error when trying to load the library in java via
  System.load:

  java.lang.UnsatisfiedLinkError: C:\zorba_java_api_2_1_0\zorba_api.dll:
  The specified procedure could not be found

  When trying to load the library via System.loadlibrary it states:

  java.lang.UnsatisfiedLinkError: C:\path\zorba_api.dll: The specified 
procedure could not be found 
      at java.lang.ClassLoader$NativeLibrary.load(Unknown source) 
      at java.lang.ClassLoader.loadLibrary0(Unknown source) 
      at java.lang.ClassLoader.loadLibrary(Unknown source) 
      at java.lang.Runtime.loadLibrary0(Unknown source) 
      at java.lang.System.loadLibrary(Unknown source)

  The PATH is set correctly and also contains the other binaries. It
  seems that Windows 7 does not recognize the zorba_api as such. Have
  you got any suggestions?

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928625/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to