[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #9439] Fix Java >1.8 on Mac
From: |
Ben Abbott |
Subject: |
[Octave-patch-tracker] [patch #9439] Fix Java >1.8 on Mac |
Date: |
Wed, 10 Jan 2018 09:15:41 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/604.4.7 (KHTML, like Gecko) Version/11.0.2 Safari/604.4.7 |
Follow-up Comment #24, patch #9439 (project octave):
@Sebastian,
I spent more time looking at configure.ac, and found that if darwin is treated
like linux, but with the Framework added, Java works. Below is the snippet
from configure.ac.
2685 if test -z "$JAVA_LDPATH"; then
2686 ## Java failed to find it's own library path. Guess wildly.
2687 JAVA_TMP_LDPATH=`ls -d $JAVA_HOME/jre/lib/*/client`
2688 JAVA_TMP_LDPATH="${JAVA_TMP_LDPATH} `ls -d
$JAVA_HOME/jre/lib/*/server`"
2689 ## Add some paths that might work on Macs.
2690 JAVA_TMP_LDPATH="${JAVA_TMP_LDPATH} ${JAVA_HOME}/../Libraries
${JAVA_HOME}/Libraries"
2691 ## Add some paths that might work on MinGW
2692 JAVA_TMP_LDPATH="${JAVA_TMP_LDPATH} ${JAVA_HOME}/bin/client
${JAVA_HOME}/bin/server"
2693 for dir in $JAVA_TMP_LDPATH; do
2694 if test -f "$dir/$jvmlib"; then
2695 JAVA_LDPATH=$dir
2696 break
2697 fi
2698 done
2699 fi
I'm attaching a new patch (octave_devel_mac_java8.patch).
(file #42883)
_______________________________________________________
Additional Item Attachment:
File name: octave_devel_mac_java8.patch Size:2 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?9439>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-patch-tracker] [patch #9439] Fix Java >1.8 on Mac,
Ben Abbott <=
- [Octave-patch-tracker] [patch #9439] Fix Java >1.8 on Mac, Sebastian, 2018/01/11
- [Octave-patch-tracker] [patch #9439] Fix Java >1.8 on Mac, Ben Abbott, 2018/01/11
- [Octave-patch-tracker] [patch #9439] Fix Java >1.8 on Mac, Ben Abbott, 2018/01/11
- [Octave-patch-tracker] [patch #9439] Fix Java >1.8 on Mac, Mike Miller, 2018/01/11
- [Octave-patch-tracker] [patch #9439] Fix Java >1.8 on Mac, Ben Abbott, 2018/01/12
- [Octave-patch-tracker] [patch #9439] Fix Java >1.8 on Mac, Ben Abbott, 2018/01/13
- [Octave-patch-tracker] [patch #9439] Fix Java >1.8 on Mac, Sebastian, 2018/01/13
- [Octave-patch-tracker] [patch #9439] Fix Java >1.8 on Mac, Ben Abbott, 2018/01/13
- [Octave-patch-tracker] [patch #9439] Fix Java >1.8 on Mac, Ben Abbott, 2018/01/13
- [Octave-patch-tracker] [patch #9439] Fix Java >1.8 on Mac, Ben Abbott, 2018/01/14