Bug 61347 - Silent installation switch to disable java environment
Summary: Silent installation switch to disable java environment
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) release
Hardware: All Windows (All)
: medium enhancement
Assignee: Not Assigned
Keywords: needsDevEval
Depends on:
Blocks: Installer-Windows
  Show dependency treegraph
Reported: 2013-02-23 14:22 UTC by Paul
Modified: 2019-11-29 13:27 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2013-02-23 14:22:20 UTC
I need an installation switch to turn off the Java environment, which I find severely slows down LO, since many of my installs are on netbooks. I'd also like to turn on macro recording and the other option, but that's less important.

An easier way to make LO the default program for MSO files would be very helpful too.
Comment 1 Joel Madero 2013-04-14 21:30:43 UTC
hm these are both possible.

Tools -> Options -> Advanced -> Uncheck Use a java runtime environment

for macro recording:

Tools -> Options -> Advanced -> "Enable macro recording" - note that this is experimental and therefore in our advanced options
Comment 2 Paul 2013-04-14 21:38:58 UTC
That's precisely what I'm trying to avoid, by way of an install switch.
Comment 3 Joel Madero 2013-04-14 21:49:04 UTC
ah my mistake. Confirmed and seems very helpful.

Comment 4 Joel Madero 2014-02-27 22:55:05 UTC Comment hidden (obsolete)
Comment 5 Robinson Tryon (qubit) 2015-12-13 11:21:15 UTC Comment hidden (obsolete)
Comment 6 Mike Kaganski 2019-03-16 10:12:20 UTC
Disabling Java *by default* is possible by creating a file named javasettings_Windows_X86_64.xml (or javasettings_Windows_X86.xml, ... whatever is appropriate for your OS) in <INSTDIR>/share/config as a post-deployment configuration. This would be used by default by user configurations, if they don't have such files in their <LO_USERPROFILE>/config (i.e., configuring manually by user overrides the setting).

> <?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="false">false</enabled>
> </java>

See also https://ask.libreoffice.org/en/question/167622.
Comment 7 Paul 2019-03-16 13:29:25 UTC
Thank you, Mike.
Comment 8 Xisco Faulí 2019-11-29 13:27:26 UTC
Changing priority back to 'medium' since the number of duplicates is lower than 5