Hello Tobias

>
> > does this code snippet on
> > http://codesnippets.services.openoffice.org/Office/Office.BootstrapOpenOf
> >fice.snip only work with the OO-sdk installed?
>
> No.
>

When I try to use the jar-file on windows it says:

C:\>java -jar Test.jar
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:238)
        at blub.InstallationFinder.getPath(InstallationFinder.java:146)
        at blub.Loader.initialize(Loader.java:181)
        at blub.Loader.main(Loader.java:112)

The unowinreg.dll is within the jar in the project folder, so the location 
is /blub/unowinreg.dll. Does it have to be in another folder? Somewhere 
win/unowinreg.dll maybe? 

Thanks

Christian


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

Reply via email to