<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Java Crash on x86 in jfw_plugin_startJavaVirtualMachine w/ recent linux kernels"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=108619#c42">Comment # 42</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Java Crash on x86 in jfw_plugin_startJavaVirtualMachine w/ recent linux kernels"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=108619">bug 108619</a>
              from <span class="vcard"><a class="email" href="mailto:djn4823@yahoo.com" title="Dave Notman <djn4823@yahoo.com>"> <span class="fn">Dave Notman</span></a>
</span></b>
        <pre>xubuntu 18.04.1 32-bit (4.15.0-42-generic #45-Ubuntu)

My experience was rather different.  LibreOffice would always crash at a point
about 35% through the splash screen, so I couldn't use the UI to disable the
use of Java.

I checked with sysctl -a and also by dumping all strings in the kernel, and
"stack_guard_gap" isn't a valid kernel parameter.

If I edited the LibreOffice config file "javasettings_Linux_x86.xml"

to look like this:

<?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="false"/>
<userClassPath xsi:nil="true"/>
<vmParameters xsi:nil="true"/>
<jreLocations xsi:nil="true"/>
<javaInfo xsi:nil="true"/>
</java>

LibreOffice 6.0.6.2 00m0(Build:2) would find the java virtual machine, update
the config file, and then crash as before.

The (partial) solution was to rename /usr/bin/java and /usr/lib/jvm/ AND code
the javasettings file as above.  With these steps taken I can at least edit
documents in --writer and spreadsheets with --calc.  Creating a native database
requires Java, so that doesn't work, but I was able to attach to a spreadsheet
and treat it like a database.  Not sure about Access/Jet or SqLite databases
yet.

Of course, anything else that requires Java is now broken.  Java version is

OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)

I tried creating a "Hello World" Java program and it worked as expected.

Hmmm... "Mixed Mode?"  Also, this version of was intended for Ubuntu
18.04.**4**, whereas I have 18.04.**1**.</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>