Bug 61347

Summary: Silent installation switch to disable java environment
Product: LibreOffice Reporter: Paul <pbpublic>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: jmadero.dev
Priority: medium Keywords: needsDevEval
Version: 4.0.0.3 release   
Hardware: All   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 113117    

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.


ProposedEasyHack
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