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...
You can try to delete the gephi settings folder under /Your_username/Library/Application support/gephi and run it again.