[Libreoffice-bugs] [Bug 107686] New: add a registry value to configure Java feature
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun May 7 15:39:08 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=107686
Bug ID: 107686
Summary: add a registry value to configure Java feature
Product: LibreOffice
Version: 5.4.0.0.alpha1+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: oliver.brinzing at gmx.de
Created attachment 133134
--> https://bugs.documentfoundation.org/attachment.cgi?id=133134&action=edit
java registry settings
Menu Tools/Options.../LibreOffice/Advanced/Java Options
"[X] Use a Java runtime environment" allows to enable/disable Java.
Java settings can be preconfigured using a"javasettings_Windows_x86.xml"
in \share\config, for example:
<?xml version="1.0" encoding="UTF-8"?>
<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="false">
<param>-Xms64M</param>
<param>-Xmx512M</param>
</vmParameters>
<jreLocations xsi:nil="true"/>
<javaInfo xsi:nil="false" vendorUpdate="2013-05-02" autoSelect="false">
[...]
</javaInfo>
</java>
if a shared java setting is present, LO will write a dummy (?)
"javasettings_Windows_x86.xml" to \user\config:
<?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>
in an enterprise environment users maybe should not be able to change
preconfigured java settings. but at the moment a user can change it.
the changed "javasettings_Windows_x86.xml" is written to \user\config
and replaces the shared java settings.
checkbox "[X] Use a Java runtime environment" sets
<enabled xsi:nil="false">true</enabled> or
<enabled xsi:nil="false">false</enabled>
inside "javasettings_Windows_x86.xml".
there is also a registry entry
"org.openoffice.Office.Java/VirtualMachine/Enable" but changing it's value
seems to have no effect.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170507/b245267a/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list