https://bugs.freedesktop.org/show_bug.cgi?id=74597
Stephan Bergmann <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|[email protected] |[email protected] |desktop.org | CC| |[email protected] --- Comment #3 from Stephan Bergmann <[email protected]> --- At least on a fresh OS X 10.9.1 with Apple's "Java for OS X" (<http://support.apple.com/kb/DL1572>) not installed and Oracle's Java 1.7.0_51 (<http://javadl.sun.com/webapps/download/AutoDL?BundleId=83377>) installed, against an --enable-64-bit build of current LO master, I observe two issues: (1) Doing anything in LO that requires Java, like "Tools - Macros - Organize Macros - BeanShell...", abruptly exits LO's soffice with exit code 97, after writing "No Java runtime present, requesting install" to stderr. (It may or may not first pop up Apple's stub window asking to install Java. Appears to me that it does so a couple of time and when you keep pressing "No" it eventually stops presenting the dialog.) The reason is that calling Oracle's JNI_CreateJavaVM exported from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/server/libjvm.dylib internally calls into Apple's (stubbed-by-default) /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/JavaRuntimeSupport, which then decides to call exit(1). This problem goes away once you do install Apple's "Java for OS X" (i.e., Java 6) alongside Oracle's Java 7. (And LO does run the Java 7 JVM then, not the Java 6 one, as can be seen, e.g., when modifying the BeanShell HelloWorld macro in "LibreOffice Macros" to include the result of System.getProperty("java.version") in the text inserted into a Writer document and reports "1.7.0_51".) (2) The "LibreOffice - Advanced" preferences pane shows "Oracle Corporation 1.7.0_51" as unselected, and when you select it (which causes the "For the selected Java runtime environment to work properly, LibreOffice must be restarted" dialog) it is nevertheless unselected again on the next visit. This problem appears unrelated to whether or not you also have Apple's "Java for OS X" installed, and appears to be only cosmetic, in that it does not affect the Java functionality in LO as discussed under (1). -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
