Hi Mike,
I guess, the problem is, that you installed OOo 1.1 with user rights and OOo 1.9 with administrator rights.
On the Windows platform, the UNO installation is found by reading the default value of the key "Software\OpenOffice.org\UNO\InstallPath" from the root key HKEY_CURRENT_USER in the Windows Registry. If this key is missing, the key is read from the root key HKEY_LOCAL_MACHINE. One of those keys is always written during the installation of an office. In a single user installation the key is written to HKEY_CURRENT_USER, in a multi-user installation of an administrator to HKEY_LOCAL_MACHINE. Note, that the default installation is the last installed office, but with the restriction, that HKEY_CURRENT_USER has a higher priority than HKEY_LOCAL_MACHINE.
If this default behaviour doesn't work with your scenario, then you can specify the location of your UNO installation by either the Java system property com.sun.star.lib.loader.unopath or the environment variable UNO_PATH.
The location of a UNO installation can be specified by the Java system property com.sun.star.lib.loader.unopath. The system property can be passed to the client application by using the -D flag, e.g
java -Dcom.sun.star.lib.loader.unopath=/opt/OpenOffice.org/program -jar MyApplication.jar
In addition, it is possible to specify a UNO installation by setting the environment variable UNO_PATH to the program directory of a UNO installation, e.g.
setenv UNO_PATH /opt/OpenOffice.org/program
Note, that this is not working with Java 1.3.1 and Java 1.4, because environment variables are not supported in those Java versions.
I hope this helps,
Thomas
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
