Gephi: Requires Java, Cannot find Java 1.8 or higher

Vishnu Agarwal picture Vishnu Agarwal · Nov 12, 2018 · Viewed 8.5k times · Source

Descirption: I have downloaded Gephi. I have also installed latest Java. But still I'm getting error:

Cannot find Java 1.8 or higher.

I have read solutions to this problem which states to change the .config file to exclude the last java by "#". But still I cannot launch Gephi.

Solution that I tried:

Cannot find java. Please use the --jdkhome switch

Answer

Raj Mehta picture Raj Mehta · Nov 12, 2018

Instead of commenting it out, trying to include the path of the JRE. Commenting it forces the application to automatically find the JAVA.

Try this: For eg: #jdkhome="C:\Program Files (x86)\Java\" change this to jdkhome="C:\Program Files (x86)\Java\jre1.8.0_191\"

Instead of 1.8.0_191, use your version in the following directory.