I was trying to install gephi for some network analysis. Initially there was problem with the Java Runtime Environment that is installed. I removed the Open JRE and installed the Oracle JRE 8u77. Even that gave some problems and when I looked online I figured that there is some trouble using JRE version 8 with gephi so I un-installed Java completely from the system and then installed JRE version 7. I was able to run in after that by typing ./gephi but when I load the Power-Grid sample file it crashes.