Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


On 10/28/2014 01:06 PM, Alain Andrieux wrote:
Actually, installing "JavaForOSX2014-001.dmg” is exactly what I don’t want to do, for it would be 
polluting a fresh, clean system with a library being 4 versions old (Apple stop providing Java with OS X 
10.6).

But…

Giving it a second thought showed that there is 2 available builds for OS X (both of version 
4.3.2.2):

The second one, labelled “Mac OS X (x86_64 10.8 or newer required”, does the trick and recognises 
Java 8u25 as valid. Although we still get this nasty alert saying we should install Java…

Two things to note:

Any JREs that LO shows on Preferences' "LibreOffice - Advanced" pane must match the bitness of the given LO. So if you run a 32-bit LO it will only show 32-bit--capable JREs. The Apple Java 6 is 32-bit--capable, while the Orcale Java 8 is 64-bit--only.

If LO wants to actually use a JRE's JVM (for other purposes than detecting which JREs to show on the Preferences pane above), it does so via the JNI Invocation API. Oracle's Java 7 and 8 for Mac OS X have a bug that causes any process using that functionality to exit abruptly unless the Apple Java 6 is also installed (see <https://bugs.freedesktop.org/show_bug.cgi?id=74877> "OS X 10.9: abrupt exit of LO in JNI_CreateJavaVM w/ Oracle Java 7 and w/o Apple Java 6" for details; Oracle targeted a fix for that only for their Java 9). For LO, that means that it can appear to "suddenly crash" as soon as it tries to instantiate a JVM and Apple's Java 6 is not installed. And at what time LO will try to instantiate a JVM can be somewhat non-intuitive, e.g., it can happen as soon as you type something into Writer if you happen to have the Wiki Publisher extension installed (cf. <http://cgit.freedesktop.org/libreoffice/core/commit/?id=1e54386411055b0049760faff2e1374a83191913> "'Official' TDF Mac builds are done w/o ext-wiki-publisher" and links from there for details).

Stephan

--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.