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 ? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
There was a change in the NetBeans plugin to use the unowinreg.dll from the installed SDK as opposed to use one from the plugin internally. Depending on the NetBeans version (6.1 or newer), you can update the plugin to the latest version. (See "Tools -> Plugins -> Updates" in NetBeans if an update is available)
Hope that helps, Steffen --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
