FIX: Oracle doesn’t bundle JAVA_HOME/../../../../../Frameworks/JavaVM.framework/JavaVM, it comes with JAVA_HOME/jre/lib/server/libjvm.dylib.
(note that Apple installs under /System/Library, Oracle installs under /Library) On Tue, Oct 21, 2014 at 10:21 AM, Robert Antoni Buj i Gelonch < robert....@gmail.com> wrote: > Oracle doesn’t bundle /Library/Internet > Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/../../../../../Frameworks/JavaVM.framework/JavaVM, > it comes with /Library/Internet > Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/../lib/server/libjvm.dylib. > > I've upload the patch https://gerrit.libreoffice.org/#/c/12057/. > > > Regards, > > Robert > > On Mon, Oct 20, 2014 at 4:12 PM, Tor Lillqvist <t...@iki.fi> wrote: > >> (Forwarding to the development list.) >> >> On 20 October 2014 16:39, Robert Antoni Buj i Gelonch < >> robert....@gmail.com> wrote: >> >>> Xcode doesn't include the java framework. >>> >>> jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx: >>> "/../../../../../Frameworks/*JavaVM*.framework/*JavaVM*" //as of >>> 1.6.0_22 >>> >> You mean that that line used to end up referring to something that came >> with an Xcode installation, but was otherwise not present? I do have >> a /System/Library/Frameworks/JavaVM.framework. Probably that is what the >> above entry was supposed to point to, but as the location of the java >> binary changed at some point, that relative path does not work any longer? >> Maybe using a relative path here is pointless even? This code is >> over-complicated, patches to simplify it are more than welcome;) >> >> > We also have the tool "/usr/libexec/java_home" and work with the >> output of "/usr/libexec/java_home -V" or something similar. >> >> Yep. It is used in configure.ac to set up a JAVA_HOME environment >> variable for *build-time* use. Whether that is strictly necessary or not, I >> have no idea. (IMHO it might be cleaner if at build-time the same automated >> mechanism was used to find the JVM to use as at LibreOffice run-time.) >> >> --tml >> >> >> >> _______________________________________________ >> LibreOffice mailing list >> LibreOffice@lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/libreoffice >> >> > > > -- > http://about.me/rbuj > -- http://about.me/rbuj
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice