Summary: | OS X 10.9: abrupt exit of LO in JNI_CreateJavaVM w/ Oracle Java 7 and w/o Apple Java 6 | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Stephan Bergmann <sberg.fun> |
Component: | framework | Assignee: | Stephan Bergmann <sberg.fun> |
Status: | RESOLVED NOTOURBUG | ||
Severity: | normal | CC: | careyg.allen, erben.fr, frof07, gagrilli.mailing, gary.gruda, iplaw67, mparchet, philipz85, reeseconor, vsfoote |
Priority: | medium | ||
Version: | 4.2.0.0.alpha0+ Master | ||
Hardware: | x86-64 (AMD64) | ||
OS: | macOS (All) | ||
URL: | http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8024281 | ||
See Also: |
https://bugs.freedesktop.org/show_bug.cgi?id=85695 https://bugs.freedesktop.org/show_bug.cgi?id=44679 https://bugs.freedesktop.org/show_bug.cgi?id=74597 https://bugs.documentfoundation.org/show_bug.cgi?id=95046 https://bugs.documentfoundation.org/show_bug.cgi?id=94716 https://bugs.documentfoundation.org/show_bug.cgi?id=96163 https://bugs.documentfoundation.org/show_bug.cgi?id=101956 |
||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 103257 |
Description
Stephan Bergmann
2014-02-12 08:02:28 UTC
*** Bug 74865 has been marked as a duplicate of this bug. *** This is due to <http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7131356> "(props) 'No Java runtime present, requesting install' when creating VM from JNI [macosx]" and there appears to be no way we can defend against that (passing an exit hook into JNI_CreateJavaVM doesn't help, as the relevant call to exit doesn't go through the hook). As a workaround, install "Java for OS X" (<http://support.apple.com/kb/DL1572>). Priority: P3 at Oracle bugtracker. Sounds like a rather serious bug preventing work to be done with the latest oracle java on OSX. Oracle?!? Nobody home? Also target is not Java 1.8 but 1.9. Seriously? (In reply to comment #3) > Sounds like a rather serious bug preventing work to be done with the latest > oracle java on OSX. I think the workaround of installing "Java for OS X" alongside Oracle's Java 7 (which one gets even prompted to do) is easy (though probably non-intuitive) and should not have negative consequences. *** Bug 81093 has been marked as a duplicate of this bug. *** The dumb thing is, that on Yosemite at least, the user gets offered a pseudo Safari window with two choices : if the user clicks the more info button, it gets redirected to an Apple page about why Java isn't installed, leading the user to think that it will be installed, but nothing happens...sigh The user has to pick the other button, in order to gain access to the JavaforOSX2014-001.dmg bundle and then install it separately. *** Bug 85669 has been marked as a duplicate of this bug. *** Can some notice be given, as suggested in bug 85695? For any newly arriving at this issue... Further to comment 7, direct link to the updated Apple JRE 6 (May 29, 2014) for OS X >= 10.6.8 packages--Java for OS X 2014-001-- remains here: http://support.apple.com/kb/DL1572 it is compliant with Oracle security patches through JRE 6u69 And the current Oracle JRE 8u25 is here (which resolves an issue of installing earlier JREs). http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html This Apple technote provides instruction on how to revert from Oracle JRE 7 (assume 8 as well) for plugin to the Apple OS X 2014-001 build if that is preferred (or necessary). http://support.apple.com/kb/ht5559 *** Bug 88636 has been marked as a duplicate of this bug. *** *** Bug 89661 has been marked as a duplicate of this bug. *** It is still available for download, but Apple could withdrawn 2014-001 at some point. Unfortunately, Oracle is pushing this out to a Java 9 fix per: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8024281 The JRE 8u40 available from link in comment 10 will co-exist with Apple Java JRE 2104-001. I am wondering if Apple's recent announcement (see link below under the 'Java ' heading) that Apple's JRE 1.6 (Apple's Java 2014-001) will NOT be supported after the next version of Mac OSX 10.11 'El Capitan' means that Base will NOT be usable for those who upgrade to Mac OSX 10.12 and beyond? https://developer.apple.com/library/prerelease/mac/releasenotes/General/rn-osx-10.11/index.html Also, is there any update on Oracle fixing the Java BUG that prevents their current versions of JRE from running on Mac OSX without also having Apple's JRE 1.6 installed in 'parallel' (as per above discussion). (In reply to frofa from comment #14) > I am wondering if Apple's recent announcement (see link below under the > 'Java ' heading) that Apple's JRE 1.6 (Apple's Java 2014-001) will NOT be > supported after the next version of Mac OSX 10.11 'El Capitan' means that > Base will NOT be usable for those who upgrade to Mac OSX 10.12 and beyond? That depends not on LibreOffice but on whether there will be some JRE available on that OS that does not suffer from <http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7131356>. > Also, is there any update on Oracle fixing the Java BUG that prevents their > current versions of JRE from running on Mac OSX without also having Apple's > JRE 1.6 installed in 'parallel' (as per above discussion). You can see the status of that Oracle issue at <http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7131356>. added the Oracle ticket for JDK-8024281 : Mac OS X: stop relying on Apple's JavaVM Frameworks http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8024281 |