Re: [libreoffice-users] LO and Java 8u25 - SOLVED

2014-10-29 Thread Stephan Bergmann

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+unsubscr...@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


Re: [libreoffice-users] LO and Java 8u25 - SOLVED

2014-10-28 Thread Alain Andrieux
Hi there,

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…





Nevertheless, it works!

Thanks,

Alain.

-- 

Alain Andrieux.
+32 476 403 327






 On 22 Oct 2014, at 18:08, Alexander Thurgood alex.thurg...@gmail.com wrote:
 
 Le 22/10/2014 16:45, Alain Andrieux a écrit :
 
 
 You need to download and install :
 
 
 JavaForOSX2014-001.dmg
 
 as well.
 
 
 Alex
 
 
 -- 
 To unsubscribe e-mail to: users+unsubscr...@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


-- 
To unsubscribe e-mail to: users+unsubscr...@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