https://bugs.documentfoundation.org/show_bug.cgi?id=97668

            Bug ID: 97668
           Summary: Java 1.8, Mac 10.10 incorrect JDK path for SDK -
                    scripts look for "Commands/javac"
           Product: LibreOffice
           Version: 5.0.4.2 release
          Hardware: All
                OS: Mac OS X (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: gspringt...@gmail.com

When running setsdkenv_unix initially, the script refused to accept a valid JDK
1.8 path (/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home - as
reported by /usr/libexec/java_home)

The script checks for Commands/javac which does not exist. (javac is in
$JAVA_HOME/bin/).

grep "Commands" configure.pl setsdkenv_unix.sh.in settings/settings.mk
configure.pl:    $main::OO_SDK_JAVA_BIN_DIR="Commands";
configure.pl:# prepare Java suggestion (cut bin or Commands directory to be in
the root of the Java SDK)
setsdkenv_unix.sh.in:    javadir=Commands
settings/settings.mk:JAVABIN=Commands

To enable correct settings and then run "make", I had to comment out or change
"Commands" to "bin".

This also applies to JDK 1.7.0_51

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to