Gephi 0.8.2 on Apple OSX Yosemite

Intro

To my opinion big data is the most important development in the ICT industry. It was time for me to get a grasp on big data.

I want to get acquainted on the whole big data stack, “vertically” from HDFS via Yarn to applications such as Hive and HBASE and “horizontally” from ETL to Analytics and Visualization in an end-to-end process. To my opinion graph databases are offering much value in the NoSQL domain escaping the constraints of the relational database. So I started my NoSQL and big data journey experimenting with Neo4j. Neo4j graph database visualization is supported in Gephi natively. So that’s how I got acquainted with Gephi.

How I installed Gephi 0.8.2 on OSX Yosemite:

Before I executed the following 1-6 steps I had already installed Oracle’s Java 8 JRE and JDK on my Apple iMac running OSX Maverics and later Yosemite. After downloading the latest version of Gephi (0.8.2) I suffered the same problems as many others: the Gephi java app starts, stops and disappeared. At a sudden moment I had Gephi 0.8.1 running on OSX Yosemite including a fully functioning UI. But I wasn’t satisfied. Using the following procedure I managed to get Gephi 0.8.2 working on OSX Yosemite:

I used as a starting point the post of Sumnous at http://sumnous.github.io/blog/2014/07/24/gephi-on-mac/

But:

  1. I removed all (Oracle) Java 7 and 8 JRE and JDK installations on my iMac before I installed Java 1.6 using the link in Sumnous’ post.
  2. I removed all previous Gephi installations and all related directories and files including .dmg downloads using http://www.freemacsoft.net/appcleaner/ in conformance of an advice I found on StackOverflow.
  3. After the download and installation of Java 1.6 I downloaded Gephi 0.8.2 once again.
  4. I started the .dmg installation file and I dragged and dropped Gephi.app to the Applications folder in OSX Finder.
  5. In conformance of another StackOverflow post on the subject Gephi on Maverics I was advised to remove an “Gephi application support directory” on my iMac. I couldn’t find this directory. I guess this directory was already removed by AppCleaner in step 2.
  6. I edited the OSX file /Applications/Gephi.app/Contents/Resources/gephi/etc/gephi.conf in conformance of the advice of Summous. I use TextWrangler or Xcode to edit such text based configurations files on my iMac. For non-experienced *nix and OSX users: please note the double quotes in Summons post: The jdkhome entry in my gephi.conf file looks like this:

# default location of JDK/JRE, can be overridden by using --jdkhome <dir> switch
jdkhome="$(/usr/libexec/java_home -v 1.6)"

Then I started Gephi 0.8.2 double clicking the app Gephi. It started normally resulting in a full functioning UI including menus.

I also installed Oracle Java 8 JDK using the link http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html. A “java -version<enter>” command in a terminal window results into:

iMac:~ Luc$ java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

I am using the Java 8 JDK within Spring Tool Suite (STS) which is my default (Java) IDE. I didn’t ran into issues or problems developing/building java applications using STS.

Hope this helps.

Advertisements

Working in ICT since the 90's in multiple domains including network infrastructures and protocols, software application development, office automation, enterprise resource planning / business process automation and cloud solutions. Current professional focus: Big data and machine learning. Personal interest: global economics.

Tagged with: , ,
Posted in Big Data
5 comments on “Gephi 0.8.2 on Apple OSX Yosemite
  1. simon says:

    Hi, do you succeed in allowing more memory to gephi ?
    I changed my gephi.conf, but gephi is still at 128max memory.

    Thx a lot.

  2. Thanks a lot! Before I was following the instructions in http://sumnous.github.io/blog/2014/07/24/gephi-on-mac/ without success but with your clarifications I finally made it work 🙂

  3. Tamara says:

    Thank you for this post. It worked for me as well. I work on OS X Yosemite 10.10.3.

  4. […] about this issue on Gephi forums / Gephi Facebook group / other websites (see in particular here for Mac, and here for Windows). After a few attempts, do not hesitate to let a comment […]

  5. I also struggled with the instructions from http://sumnous.github.io/blog/2014/07/24/gephi-on-mac/ but your instructions solved the problem. Thanks for sharing.

    PS: I got this working in OSX 10.11.1 El Capitan.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: