<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - add a registry value to configure Java feature"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=107686">107686</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>add a registry value to configure Java feature
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.4.0.0.alpha1+ Master
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>oliver.brinzing@gmx.de
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=133134" name="attach_133134" title="java registry settings">attachment 133134</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=133134&action=edit" title="java registry settings">[details]</a></span>
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="<a href="http://openoffice.org/2004/java/framework/1.0">http://openoffice.org/2004/java/framework/1.0</a>"
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>">
<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="<a href="http://openoffice.org/2004/java/framework/1.0">http://openoffice.org/2004/java/framework/1.0</a>"
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>">
<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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>