Skip to content
YY Ahn edited this page Jan 9, 2022 · 4 revisions

Installation

Troubleshooting

How to install Gephi on Microsoft Windows with Oracle Java 9

Author: Xuan Wang

Gephi can't find java by default on Windows with JDK 9. I don't know whether others have encountered the same problem. So I am writing it down. Hope it is helpful for somebody.

First, you need to download and install Oracle Java. Latest is Java 9. http://www.oracle.com/technetwork/java/javase/downloads/index.html Note; You can install JRE or JDK. JRE needs 110MB space and JDK needs 610MB space.

Second, follow the link on homework page to download and install Gephi.

Third: Configure Gephi. Gephi by default can't find your JRE 9. You need to edit "C:\Program Files\Gephi-0.9.2\etc\gephi.conf", add this line jdkhome="C:\Program Files\Java\jre-9.0.4" Change the path to your java installation path. You are good to go.

Java 9 by default will add "C:\ProgramData\Oracle\Java\javapath" to PATH and write Windows Registry for JRE. CLASS_PATH is obsoleted in Java 9 and JAVA_HOME is not neccesary for most applications since it is reserved for private JRE. Anyway, Gephi simply doesn't buy it. It doesn't recognize JRE 9's javapath folder. You may try to set JAVA_HOME, it might work too. Well, Oracle has changed the directory structure for JRE on Windows. That is why they use javapath instead. If you are using conf files or JRE_HOME/JAVA_HOME, whenever you upgrade your JRE, the path will change and you have to set it all over again. If Gephi could use the new javapath, upgrdaing java would have no impact on setting.

Clone this wiki locally