(Forwarding to the development list.)
On 20 October 2014 16:39, Robert Antoni Buj i Gelonch <
robert.buj@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
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.