I'm new to JAVA. I'm on Mac OS X 10.8.2. Using gephi 0.8.1. I get:
echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/1.6.0_33-b03-424.jdk/Contents/Home
echo $JDK_HOME
/Library/Java/JavaVirtualMachines/1.6.0_33-b03-424.jdk/Contents/Home
gephi libs list:
/Applications/gephi.app/Contents/Resources/gephi/gephi/modules/lib/macosx-universal/libjogl.jnilib
/Applications/gephi.app/Contents/Resources/gephi/gephi/modules/lib/macosx-universal/libjogl_awt.jnilib
/Applications/gephi.app/Contents/Resources/gephi/gephi/modules/lib/macosx-universal/libjogl_cg.jnilib
Launching gephi from clicking icon won't work, I need to use command line:
./gephi --jdkhome /Library/Java/JavaVirtualMachines/1.6.0_33-b03-424.jdk/Contents/Home
After this I get 'Unable to load libjogl_awt.jnilib'
Any suggestions on what I can do to fix my JAVA environment -- or at least start gephi? Thx.
UPDATE: As suggested in gephi forums, I've also linked /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK to /Library/Java/JavaVirtualMachines/1.6.0_33-b03-424.jdk/Contents and have the 32-bit Java first in Java preferences...
To run Gephi on OS X Mavericks, just install the Apple's update for Java 6 http://support.apple.com/kb/DL1572?viewlocale=en_US
If you still have problems it probably means that you have Java 7 installed, and Gephi is using it. You can override that behavior by editing Gephi's config file:
Open /Applications/Gephi.app/Contents/Resources/gephi/etc/gephi.conf and set the jdkhome
value to:
jdkhome="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With