gephi-plugins icon indicating copy to clipboard operation
gephi-plugins copied to clipboard

Doesn't see Java 1.7 on Mavericks

Open yannis1962 opened this issue 11 years ago • 2 comments

When I saw the error message "Neo4j plugin requires Java 1.7", I installed Java 1.7 JRE on my Mavericks machine. When I ask for java -version I get

java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

But the plugin still doesn't want to get installed in Gephi, it simply doesn't see the new Java version. What can I do?

yannis1962 avatar Apr 19 '14 17:04 yannis1962

FWIW I am experiencing the same problem on OS X 10.9.2. I am running Gephi 0.8.2 beta, and when run java -version I confirm 1.7 is indeed installed and recognized:

java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

Specifically I'm trying to install the Neo4j plugin when the error described by @yannis1962 occurs.

wjgilmore avatar Apr 21 '14 14:04 wjgilmore

Hi there,

I bumped into exactly the same problem. I checked the Gephi > About Gephi and saw that Gephi was running with Java 1.6. There are posts about changing the version (mostly about downgrading to 1.6) https://github.com/gephi/gephi/issues/895 but it can be used to also run Gephi under 1.7. In my case instead of modifying the gephi.conf I decided to start gephi using the --jdkhome command line option.

/Applications/Gephi.app/Contents/Resources/gephi/bin/gephi --jdkhome "/your/jdk/home"

It then allows me to install the Neo4J plugin! Don't know yet if there'll be side effects as it's not clear if its supposed to run correct on 1.7

Now it seems to be able to import a 2.0.3 Neo4J export but Gephi is hanging... @eduramiba might be able to help?

jmatsushita avatar May 17 '14 19:05 jmatsushita

Closing as we have a duplicate issue to cover this request, see #263.

mbastian avatar Sep 02 '22 11:09 mbastian