incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From imacat <ima...@mail.imacat.idv.tw>
Subject unowinreg.dll: can't load ia 32-bit .dll on a amd 64-bit platform
Date Tue, 23 Oct 2012 15:33:04 GMT
Dear all,

    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 places.

    I think 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.  An issue is filed:

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

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:\>

-- 
Best regards,
imacat ^_*' <imacat@mail.imacat.idv.tw>
PGP Key http://www.imacat.idv.tw/me/pgpkey.asc

<<Woman's Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT's http://www.imacat.idv.tw/
Woman in FOSS in Taiwan http://wofoss.blogspot.com/
Apache OpenOffice http://www.openoffice.org/
EducOO/OOo4Kids Taiwan http://www.educoo.tw/
Greenfoot Taiwan http://greenfoot.westart.tw/


Mime
View raw message