https://bugs.documentfoundation.org/show_bug.cgi?id=112609

V Stuart Foote <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected]
             Blocks|                            |103257
            Summary|Libre Office JRE 9          |Oracle JRE 9 not found for
                   |                            |use automatically
     Ever confirmed|0                           |1

--- Comment #1 from V Stuart Foote <[email protected]> ---
The new Java 9 release seems to work correctly on a 5.4.2.1 build.

But, as Stephen B. suggested would happen bug 100501#7, for Windows builds
LibreOffice is not finding the Java Runtime and it must be located manually
with the Add button. 

Looks like to locate the "JavaHome" string we will have to change our registry
search path in the Windows Registry [1] to match the Oracle path changes.

The JRE now uses
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JRE\9]
"JavaHome"="C:\\Program Files\\Java\\jre-9"
"RuntimeLib"="C:\\Program Files\\Java\\jre-9\\bin\\server\\jvm.dll"

While the JDK uses
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JDK\9]
"JavaHome"="C:\\Program Files\\Java\\jdk-9"

Previous builds used
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0_144]
"JavaHome"="C:\\Program Files\\Java\\jre1.8.0_144"
"MicroVersion"="0"
"RuntimeLib"="C:\\Program Files\\Java\\jre1.8.0_144\\bin\\server\\jvm.dll"

and we search for the "Java Runtime Environment" for JRE or "Java Development
Kit" instead of the new JRE, JDK entries.

Also, looks like there will be no 32-bit JRE for Java 9, meaning we'll have to
continue to support the older paths indefinitely. 

=-ref-=

[1]
https://opengrok.libreoffice.org/xref/core/jvmfwk/plugins/sunmajor/pluginlib/util.cxx?a=true#68

[2] http://www.oracle.com/technetwork/java/javase/jdk9certconfig-3761018.html


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=103257
[Bug 103257] [META] Java Runtime Environment (JRE) bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to