-
Install Homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Download Java 6 on this page and install it
-
Install Gephi:
brew cask install gephi
-
Patch Gephi:
cd ~/Applications/Gephi.app && \ curl -sL https://gist.githubusercontent.com/bfontaine/0dd7f786e274c7139421/raw/gephi-osx-java6.patch | patch -p1
-
Done.
Last active
October 25, 2020 20:21
-
-
Save bfontaine/0dd7f786e274c7139421 to your computer and use it in GitHub Desktop.
Install Gephi on OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Contents/Resources/gephi/platform/lib/nbexec b/Contents/Resources/gephi/platform/lib/nbexec | |
index abe6c93..c4d6f14 100644 | |
--- a/Contents/Resources/gephi/platform/lib/nbexec | |
+++ b/Contents/Resources/gephi/platform/lib/nbexec | |
@@ -153,7 +153,7 @@ if [ -z "$jdkhome" ] ; then | |
Darwin*) | |
# read Java Preferences | |
if [ -x "/usr/libexec/java_home" ]; then | |
- jdkhome=`/usr/libexec/java_home` | |
+ jdkhome=`/usr/libexec/java_home -v 1.6\*` | |
# JDK1.7 | |
elif [ -f "/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java" ] ; then |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment