Hi Christian,

Christian Walter wrote:
Hello,

i am trying to use UNO to extract Data from an CALC-Sheet. Since this program shall be used over Web-Start, I tried to use the Loader.java to get the installation path of OO (because this path of course differs from machine to machine). I got it to work with Linux, but with Windows it just wont work. I get the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no unowinreg in
java.library.path
      at java.lang.ClassLoader.loadLibrary(Unknown Source)
      at java.lang.Runtime.loadLibrary0(Unknown Source)
      at java.lang.System.loadLibrary(Unknown Source)
      at blub.WinRegKey.<clinit>(WinRegKey.java:98)
      at
blub.InstallationFinder.getPathFromWindowsRegistry(InstallationFinder.java:
2 38)
      at blub.InstallationFinder.getPath(InstallationFinder.java:146)
      at blub.Loader.initialize(Loader.java:181)
      at blub.Loader.main(Loader.java:112)


Can anyone help me how to solve this problem? Can I just somehow include this unowinreg.dll somewhere within the program or is there another way to work this out?

there should be difference for WebStart applications or normal client application. Simply include all necessary glue code (coming with the SDK and with the unowinreg.dll) that is necessary for the simple bootstrap mechanism. Create the appropriate manifest entry and it should be work.

Juergen



Thanks a lot.

Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to