Hi Joachim,

>> OK. I used:
>> -----%<-----
>>
>> export UNO_JAVA_JFW_ENV_CLASSPATH="/usr/lib/openoffice/program/classes/j
>> urt.jar;/usr/lib/openoffice/program/classes/ridl.jar;/usr/lib/openoffice/program
>>
>> /classes/java_uno.jar;/usr/lib/openoffice/program/classes/juh.jar;/usr/lib/openo
>>
>> ffice/program/classes/jut.jar;/usr/lib/openoffice/program/classes/unoidl.jar"
>>
> UNO_JAVA_JFW_ENV_CLASSPATH can be set to true which indicates that
> CLASSPATH is used.

because this does not work I found a workaround. Before installing the
UNO package, I correct the
/usr/lib/openoffice/share/config/javavendors.xml to following:
-----%<-----
<?xml version="1.0" encoding="UTF-8"?>

<javaSelection xmlns="http://openoffice.org/2004/java/framework/1.0";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

 <updated>2004-01-30</updated>

 <vendorInfos>
  <vendor name="Sun Microsystems Inc.">
    <minVersion>1.5.0</minVersion>
  </vendor>
 </vendorInfos>

 <plugins>
  <library vendor="Sun Microsystems Inc.">sunjavaplugin.so</library>
 </plugins>
</javaSelection>
-----%<-----

Thus OOo selects automatically the Sun JRE even if the user used another
JRE before :-).

Joachim, without your hints I would not have found this workaround!
Thanks for your time and help.

Greetings, Tobias

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

Reply via email to