You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/10/23 16:12:21 UTC

[Bug 121258] New: unowinreg.dll: can't load ia 32-bit .dll on a amd 64-bit platform

https://issues.apache.org/ooo/show_bug.cgi?id=121258

          Priority: P3
            Bug ID: 121258
          Assignee: ooo-issues@incubator.apache.org
           Summary: unowinreg.dll: can't load ia 32-bit .dll on a amd
                    64-bit platform
          Severity: normal
        Issue Type: DEFECT
    Classification: Unclassified
                OS: Windows, all
          Reporter: imacat@mail.imacat.idv.tw
          Hardware: PC
            Status: UNCONFIRMED
           Version: AOO 3.4.1
         Component: sdk
           Product: app dev

The unowinreg.dll from OpenOffice SDK does not work with Windows Java 64-bit
VM.  OpenOffice client applications built with unowinreg.dll will not work on
64bit 64-bit Windows with Java 64-bit VM installed.  As 64-bit Windows and
64-bit Java VM is very common now, this makes OpenOffice client applications
unavailable on many platforms.

A 64-bit unowinreg.dll and a mechanism for switching between 32-bit and 64-bit
unowinreg.dll should be provided in the OpenOffice loader in OpenOffice SDK.

The console log is below.

C:\>java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)

C:\>java -jar D:calcmosaic.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError:
C:\Users\imacat\AppData\Local\Temp\unowinreg1072712583236131558.dll: Can't load
IA 32-bit .dll on a AMD 64-bit platform
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary1(Unknown Source)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at com.sun.star.lib.loader.WinRegKey.<clinit>(WinRegKey.java:81)
        at
com.sun.star.lib.loader.InstallationFinder.getPathFromWindowsRegistry(InstallationFinder.java:197)
        at
com.sun.star.lib.loader.InstallationFinder.getPath(InstallationFinder.java:105)
        at com.sun.star.lib.loader.Loader.getCustomLoader(Loader.java:170)
        at com.sun.star.lib.loader.Loader.main(Loader.java:130)

C:\>

-- 
You are receiving this mail because:
You are the assignee for the bug.