Problem Installing Gephi After Adding PPA and Oracle Java 8

software installation

I have been having some issues with installing gephi recently on Trusty. The following are in my repository:

http://ppa.launchpad.net/rockclimb/gephi-testing/ubuntu trusty main
http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main

When I

sudo apt-get install gephi

I get

The following packages have unmet dependencies:
 gephi : Depends: libgoogle-collections-java but it is not installable

When I tried to look for the package, it says that the repo is no longer being updated. I then managed to find an old copy of the package here:

https://packages.debian.org/source/wheezy/libgoogle-collections-java

But for some reason when i tried to install it using:
tar -zxvf 'tarball'

Nothing seems to be happening. Does anyone know what I am missing?

Edit: The splash screen appears, and gehpi seems to try to initialize. However it seems to fail and stop after a while.

Best Answer

The way to fix this is to go to:

sudo gedit /etc/environment

and add:

JAVA_HOME="/usr/lib/jvm/java-7-oracle/jre/bin/java"

Then run the script normally

./bin/gephi
Related Question