https://bugs.freedesktop.org/show_bug.cgi?id=39659
--- Comment #29 from V Stuart Foote <[email protected]> 2011-11-13 19:18:02 PST --- Can confirm. Continuing inability of LibreOffice 3.4.4 (build 402) to detect presence of JRE when only Java 1.7u01 32-bit is present on Windows 7 sp1 64-bit. On a working installation of LibreOffce 3.4.4, removal of JRE 1.6uXX, deletion of javaSettings_Windows_x86.xml configuration, and installation of JRE 1.7u01 Creation of javaSettings_Windows_x86.xml (and presumably javaSettings_Linux_x86.xml) is NOT being populated with Java instance details for JRE 1.7u01 In Windows, the %APPDATA%\Roaming\LibreOffice\3\user\config\javaSettings_Windows_x86.xml is created when a Tools > LibreOffice > Java check box is made to "Use a Java Runtime Environment". However, it contains an empyt template: <?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"></enabled> <userClassPath xsi:nil="true"></userClassPath> <vmParameters xsi:nil="true"></vmParameters> <jreLocations xsi:nil="true"></jreLocations> <javaInfo xsi:nil="true"></javaInfo> </java> Using the Add... button of the Java Options GUI and manually selecting the java\jre7\bin installation directory returns error: LibreOffice 3.4--The folder you selected does not contain a Java runtime environment. Please select a different folder. Yet if JRE 1.6uXX is present, when Java Options GUI is open and the a fully populated javaSettings_Windows_x86.xml is created as soon as the check box to use a Java JRE is made. Here is an example of the generated XML: <?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:///C:/Program%20Files%20(x86)/Java/jre6</location> <version>1.6.0_29</version> <features>0</features> <requirements>0</requirements> <vendorData>660069006C0065003A002F002F002F0043003A002F00500072006F006700720061006D00250032003000460069006C0065007300250032003000280078003800360029002F004A006100760061002F006A007200650036002F00620069006E002F0063006C00690065006E0074002F006A0076006D002E0064006C006C00</vendorData> </javaInfo> </java> This was with a working LibreOffice 3.4.4 installation made with a 1.6u29 JRE that had been updated. Others on user forum have reported inability to install when JRE 1.7u01 present. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
