How to run Gephi in Ubuntu

If you try to run Gephi in your linux, probably you will see the following issue:

Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory

This appears when you are using openjdk9 or newer.
To fix it, you must install openjdk8-jdk and choose it for java and javac

sudo apt-get install openjdk-8-jdk

with the following command you can see your java installed versions:

sudo update-java-alternatives --list

Now, choose version 8 for each one:

sudo update-alternatives --config javac
sudo update-alternatives --config java

Enjoy it!

Comments

Popular posts from this blog

How to fix Android when developer options are not available for this user

Exception: Could not find a default OpenFlow controller in Mininet

v4l2: open /dev/video0: Permission denied