Uninstalled (apt-get purge) all JREs and open-office.org* on the PC and
then reinstalled openoffice.org and sun-java6-jre. OpenOffice lists the
JRE in the Tools-Options dialogue but still does show the "JRE
defect..." error.

Then I tried to find the XML file where openoffice stores its config
data. I found
/usr/lib/openoffice/share/config/javasettingsunopkginstall.xml which
shows

<?xml version="1.0" encoding="UTF-8"?>
<!--This is a generated file. Do not alter this file!-->
<java xmlns="http://openoffice.org/2004/java/framework/1.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<enabled xsi:nil="true"/>
<userClassPath xsi:nil="true"/>
<vmParameters xsi:nil="true"/>
<jreLocations xsi:nil="true"/>
<javaInfo xsi:nil="false" vendorUpdate="2004-01-30" autoSelect="true">
<vendor>Sun Microsystems Inc.</vendor>
<location>file:///usr/lib/jvm/java-6-sun-1.6.0.06/jre</location>
<version>1.6.0_06</version>
<features>0</features>
<requirements>1</requirements>
<vendorData>660069006C0065003A002F002F002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D0036002D00730075006E002D0031002E0036002E0030002E00300036002F006A00720065002F006C00690062002F0069003300380036002F0063006C00690065006E0074002F006C00690062006A0076006D002E0073006F000A002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D0036002D00730075006E002D0031002E0036002E0030002E00300036002F006A00720065002F006C00690062002F0069003300380036002F0063006C00690065006E0074003A002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D0036002D00730075006E002D0031002E0036002E0030002E00300036002F006A00720065002F006C00690062002F0069003300380036002F006E00610074006900760065005F0074006800720065006100640073003A002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D0036002D00730075006E002D0031002E0036002E0030002E00300036002F006A00720065002F006C00690062002F0069003300380036000A00</vendorData>
</javaInfo>
</java>

Somewhere on the Openoffice Wiki-pages it said that deleting the file
would reset the java settings. But after deleting it, going through the
Tools-Options dialogue did not create a new file instead. I stopped
searching at this point as I do not have enough knowledge about OOo and
its architecture.

Meanwhile I installed 8.04 on a laptop from scratch. OO base works fine
and has no problems with the JRE there. If somebody could list the
possible configuration locations for OOo and JRE I could compare the
working and non-working installations.

-- 
[hardy] OOo Base will not connect to MySQL using JDBC
https://bugs.launchpad.net/bugs/220722
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to