Rene Engelhard wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Stephan Bergmann wrote:
Rene Engelhard wrote:
Well, it *might* be the cause that OOo doesn't grok that classes/ is a
symlink.
Yes, a symlink does not work here. Much OOo Java code (residing in jar files in program/classes) needs to find other OOo files (native libraries etc.) and does so using NativeLibraryLoader (jurt/com/sun/star/lib/util/NativeLibraryLoader.java:1.9). NativeLibraryLoader effectively goes up the directory hierarchy one level from program/classes to program to locate those files. That of course breaks if program/classes is a symlink to somewhere else.

OK, as I feared. That also might explain some other problem I once had.

But to get sure, if I have classes/ as a normal dir and the jars/.class
files in there as symlinks to /usr/share/java/openoffice, that will
work, won't it?

Probably. Confer the "hack magic" of the getResource method at jurt/com/sun/star/lib/util/NativeLibraryLoader.java:1.9 l. 78--128.

-Stephan

[...]

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

Reply via email to