On 03/19/09 09:33, ashok _ wrote:
I have an openoffice uno client application built using the OOo netbeans plugin on ubuntu 8.04 with openoffice.org 3.0.1 and the 3.0 sdk...It runs fine on ubuntu, but the same application fails to launch on windows and fails with the following error : Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Documents and Settings\Administrator\Local Settings\Temp\unowinreg1318910559123489226.dll: Can't load this .dll (machine code=0xbd) on a IA 32-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method) 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:88) at com.sun.star.lib.loader.InstallationFinder.getPathFromWindowsRegistry(InstallationFinder.java:207) at com.sun.star.lib.loader.InstallationFinder.getPath(InstallationFinder.java:115) at com.sun.star.lib.loader.Loader.getCustomLoader(Loader.java:179) at com.sun.star.lib.loader.Loader.main(Loader.java:140) Any ideas what may be wrong ?
Where did you get the SDK from (directly from <http://download.openoffice.org/3.0.0/sdk.html>)?
The unowinreg.dll contained in your client application (and unpacked from there to C:\...\Temp\unowinreg1318910559123489226.dll during execution of the client application) should be an exact copy of the unowinreg.dll contained in the SDK at /opt/openoffice.org/basis3.0/sdk/classes/win/unowinreg.dll.
As a first step, please check whether or not the three unowinreg.dll instances (contained in your client application; unpacked to C:\...\Temp\unowinreg1318910559123489226.dll; at /opt/openoffice.org/basis3.0/sdk/classes/win/unowinreg.dll) are identical.
-Stephan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
