Problem installing Gephi 0.8.1 on Mac OS X 10.8.2

Problems with getting it running
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
nsecord
Posts:4
Joined:25 Sep 2012 07:50
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Problem installing Gephi 0.8.1 on Mac OS X 10.8.2

Post by nsecord » 25 Sep 2012 13:07

Hello,

I've tried to install Gephi on my Mac using the pre-built binary but I have run into numerous problems.

Initially when I tried to start the app, it crashed immediately with exit code 2. After reading through various issues posted by other people, I understood that I needed to add a symbolic link to the JDK

Code: Select all

sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
and add jdkhome to gephi.conf

Code: Select all

jdkhome="/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home/"
I also followed another suggestion to switch the order of the 32-bit and 64-bit JDK in Java Preferences so that the 32-bit JDK comes first.

The app will now start to load but stops with an exception: "Unable to load libjogl_awt.jnilib".
I can't find the library referred to but reading other messages in this thread I thought this aliased to libjawt.dylib and I also thought this was a known issue that was fixed with 0.8.1.

Below is the contents of the message log:

Code: Select all

-------------------------------------------------------------------------------
>Log Session: Tuesday, September 25, 2012 1:58:22 PM CEST
>System Info: 
  Product Version         = Gephi 0.8.1 beta 201202141941
  Operating System        = Mac OS X version 10.8.2 running on x86_64
  Java; VM; Vendor        = 1.6.0_32; Java HotSpot(TM) 64-Bit Server VM 20.7-b02-420; Apple Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_32-b05-420-12A269
  Java Home               = /Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home
  System Locale; Encoding = en_US (gephi); MacRoman
  Home Directory          = /Volumes/Macintosh_HD/Users/normansecord
  Current Directory       = /
  User Directory          = /Volumes/Macintosh_HD/Users/normansecord/Library/Application Support/gephi/0.8.1/dev
  Cache Directory         = /Volumes/Macintosh_HD/Users/normansecord/Library/Application Support/gephi/0.8.1/dev/var/cache
  Installation            = /Applications/gephi.app/Contents/Resources/gephi/gephi
                            /Applications/gephi.app/Contents/Resources/gephi/platform
  Boot & Ext. Classpath   = /Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/jsfd.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/ui.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/laf.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/sunrsasign.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/jsse.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/jce.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/charsets.jar:/System/Library/Java/Extensions/MRJToolkit.jar:/System/Library/Java/Extensions/QTJava.zip:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home/lib/ext/apple_provider.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home/lib/ext/sunpkcs11.jar
  Application Classpath   = /Applications/gephi.app/Contents/Resources/gephi/platform/lib/boot.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/org-openide-modules.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/org-openide-util-lookup.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/org-openide-util.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_ar_SA.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_bg.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_ca.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_cs.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_de.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_es.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_fr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_gl_ES.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_in_ID.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_it.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_ja.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_ko.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_nl_NL.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_pl.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_pt_BR.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_pt_PT.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_ro.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_ru.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_si.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_sq.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_sv.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_tr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_zh_CN.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_zh_TW.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_ar_SA.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_bg.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_ca.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_cs.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_de.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_es.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_fr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_gl_ES.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_in_ID.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_it.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_ja.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_ko.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_nl_NL.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_pl.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_pt_BR.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_pt_PT.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_ro.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_ru.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_si.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_sq.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_sv.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_tr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_zh_CN.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_zh_TW.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_bg.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_ca.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_cs.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_de.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_es.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_fr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_gl_ES.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_in_ID.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_it.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_ja.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_ko.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_nl_NL.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_pl.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_ro.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_ru.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_si.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_sv.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_tr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_ar_SA.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_bg.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_ca.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_cs.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_de.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_es.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_fr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_gl_ES.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_in_ID.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_it.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_ja.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_ko.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_nl_NL.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_pl.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_pt_BR.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_pt_PT.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_ro.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_ru.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_si.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_sq.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_sv.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_tr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_zh_CN.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_zh_TW.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home/lib/dt.jar
  Startup Classpath       = /Applications/gephi.app/Contents/Resources/gephi/platform/core/core.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/org-openide-filesystems.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_ar_SA.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_bg.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_ca.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_cs.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_de.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_es.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_fr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_gl_ES.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_in_ID.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_it.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_ja.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_ko.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_nl_NL.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_pl.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_pt_BR.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_pt_PT.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_ro.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_ru.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_si.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_sq.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_sv.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_tr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_zh_CN.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_zh_TW.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_ar_SA.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_bg.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_ca.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_cs.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_de.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_es.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_fr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_gl_ES.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_in_ID.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_it.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_ja.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_ko.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_nl_NL.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_pl.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_pt_BR.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_pt_PT.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_ro.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_ru.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_si.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_sq.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_sv.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_tr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_zh_CN.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_zh_TW.jar:/Applications/gephi.app/Contents/MacOS/../Resources/gephi/bin/../gephi/core/locale/core_gephi.jar
-------------------------------------------------------------------------------
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module org.gephi.filters.api: added = [module org.openide.awt] removed = []; details: [SaveCookie extends Savable. To compile you need to include openide.awt on classpath.]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module org.gephi.layout.api: added = [module org.openide.awt] removed = []; details: [SaveCookie extends Savable. To compile you need to include openide.awt on classpath.]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module org.gephi.layout.plugin: added = [module org.openide.awt] removed = []; details: [SaveCookie extends Savable. To compile you need to include openide.awt on classpath.]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module org.gephi.tools.plugin: added = [module org.openide.awt] removed = []; details: [SaveCookie extends Savable. To compile you need to include openide.awt on classpath.]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module org.gephi.ui.project: added = [module org.openide.awt] removed = []; details: [SaveCookie extends Savable. To compile you need to include openide.awt on classpath.]
java.lang.NullPointerException
	at java.io.File.<init>(File.java:222)
	at com.apple.resources.LoadNativeBundleAction.run(MacOSXResourceBundle.java:60)
	at com.apple.resources.LoadNativeBundleAction.run(MacOSXResourceBundle.java:33)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.apple.resources.MacOSXResourceBundle.getMacResourceBundle(MacOSXResourceBundle.java:29)
	at com.apple.resources.MacOSXResourceBundle.getMacResourceBundle(MacOSXResourceBundle.java:24)
	at com.apple.laf.AquaLookAndFeel.initResourceBundle(AquaLookAndFeel.java:244)
	at com.apple.laf.AquaLookAndFeel.initComponentDefaults(AquaLookAndFeel.java:260)
	at com.apple.laf.AquaLookAndFeel.getDefaults(AquaLookAndFeel.java:227)
	at javax.swing.UIManager.setLookAndFeel(UIManager.java:520)
	at javax.swing.UIManager.setLookAndFeel(UIManager.java:564)
	at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1329)
	at javax.swing.UIManager.initialize(UIManager.java:1422)
	at javax.swing.UIManager.maybeInitialize(UIManager.java:1410)
	at javax.swing.UIManager.getLookAndFeel(UIManager.java:473)
	at org.netbeans.swing.plaf.Startup.getLookAndFeel(Startup.java:166)
	at org.netbeans.swing.plaf.Startup.initialize(Startup.java:115)
	at org.netbeans.swing.plaf.Startup.<init>(Startup.java:108)
	at org.netbeans.swing.plaf.Startup.run(Startup.java:506)
	at org.netbeans.core.CoreBridgeImpl.initializePlaf(CoreBridgeImpl.java:124)
	at org.netbeans.core.startup.Main.initUICustomizations(Main.java:144)
	at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:361)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:1080)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:294)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:172)
	at org.netbeans.core.startup.Main.start(Main.java:308)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
	at java.lang.Thread.run(Thread.java:680)
java.lang.NullPointerException
	at java.io.File.<init>(File.java:222)
	at com.apple.resources.LoadNativeBundleAction.run(MacOSXResourceBundle.java:60)
	at com.apple.resources.LoadNativeBundleAction.run(MacOSXResourceBundle.java:33)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.apple.resources.MacOSXResourceBundle.getMacResourceBundle(MacOSXResourceBundle.java:29)
	at com.apple.resources.MacOSXResourceBundle.getMacResourceBundle(MacOSXResourceBundle.java:24)
	at com.apple.laf.AquaLookAndFeel.initResourceBundle(AquaLookAndFeel.java:244)
	at com.apple.laf.AquaLookAndFeel.initComponentDefaults(AquaLookAndFeel.java:260)
	at com.apple.laf.AquaLookAndFeel.getDefaults(AquaLookAndFeel.java:227)
	at javax.swing.UIManager.setLookAndFeel(UIManager.java:520)
	at org.netbeans.swing.plaf.Startup.initialize(Startup.java:125)
	at org.netbeans.swing.plaf.Startup.<init>(Startup.java:108)
	at org.netbeans.swing.plaf.Startup.run(Startup.java:506)
	at org.netbeans.core.CoreBridgeImpl.initializePlaf(CoreBridgeImpl.java:124)
	at org.netbeans.core.startup.Main.initUICustomizations(Main.java:144)
	at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:361)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:1080)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:294)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:172)
	at org.netbeans.core.startup.Main.start(Main.java:308)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
	at java.lang.Thread.run(Thread.java:680)
Failed to create resources from application bundle.  Using Java-based resources.
Failed to create resources from application bundle.  Using Java-based resources.
Loading native libraries
I hope someone might have some suggestions.
Thanks,
Norman

User avatar
mbastian
Gephi Architect
Posts:728
Joined:10 Dec 2009 10:11
Location:San Francisco, CA
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Problem installing Gephi 0.8.1 on Mac OS X 10.8.2

Post by mbastian » 25 Sep 2012 16:42

Hi,

What do you get when you use the 64-bit version of the JDK? I don't think the 32-bit version would work.

nsecord
Posts:4
Joined:25 Sep 2012 07:50
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Problem installing Gephi 0.8.1 on Mac OS X 10.8.2

Post by nsecord » 25 Sep 2012 17:40

I believe it is running the 64-bit version. From the message log :

Code: Select all

Operating System        = Mac OS X version 10.8.2 running on x86_64
  Java; VM; Vendor        = 1.6.0_32; Java HotSpot(TM) 64-Bit Server VM 20.7-b02-420; Apple Inc.
The 32 in the name 1.6.0_32-b05-420.jdk is just the update number, like java 6u32.

Anyway, in Java Preferences, I am not able to deselect the 32-bit version without also deactivating the 64-bit version. I can only change their order of preference and that has no effect on being able to run the application.

I have also tried building the application from scratch using Apache Ant and I have the same result "Unable to load libjogl_awt.jnilib". So it seems like if there was a previous patch to fix this issue it hasn't worked.

User avatar
eduramiba
Gephi Code Manager
Posts:1064
Joined:22 Mar 2010 15:30
Location:Madrid, Spain
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Problem installing Gephi 0.8.1 on Mac OS X 10.8.2

Post by eduramiba » 25 Sep 2012 18:09

Hi,
I think this may be caused by the problem that I commented here http://forum.gephi.org/viewtopic.php?f=3&t=2076
Anyone that knows about MacOS can confirm that we should change what I explained?

Eduardo

nsecord
Posts:4
Joined:25 Sep 2012 07:50
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Problem installing Gephi 0.8.1 on Mac OS X 10.8.2

Post by nsecord » 25 Sep 2012 22:48

Hello,

I looked at that post several times and I looked at the code but maybe I am not understanding what you are trying to point out.

I am not a java expert but if I look at the code below the else statement at line #154 then including a symbolic link to point CurrentJDK to the location of the JDK should ensure that libjawt.dylib is properly loaded.

If I look further up in the code at line #130 I can see that the main jobl library is loaded before jawt. I tried moving this below the checking for libjawt.dylib and rebuilt but I still get the error "Unable to load libjogl_awt.jnilib". The log seems slightly different though.

Code: Select all

-------------------------------------------------------------------------------
>Log Session: Tuesday, September 25, 2012 11:40:56 PM CEST
>System Info: 
  Product Version         = Gephi 0.8.1 beta 201202141941
  Operating System        = Mac OS X version 10.8.2 running on x86_64
  Java; VM; Vendor        = 1.6.0_32; Java HotSpot(TM) 64-Bit Server VM 20.7-b02-420; Apple Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_32-b05-420-12A269
  Java Home               = /Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home
  System Locale; Encoding = en_US (gephi); MacRoman
  Home Directory          = /Volumes/Macintosh_HD/Users/normansecord
  Current Directory       = /
  User Directory          = /Volumes/Macintosh_HD/Users/normansecord/Library/Application Support/gephi/0.8.1/dev
  Cache Directory         = /Volumes/Macintosh_HD/Users/normansecord/Library/Application Support/gephi/0.8.1/dev/var/cache
  Installation            = /Applications/gephi.app/Contents/Resources/gephi/gephi
                            /Applications/gephi.app/Contents/Resources/gephi/platform
  Boot & Ext. Classpath   = /Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/jsfd.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/ui.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/laf.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/sunrsasign.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/jsse.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/jce.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Classes/charsets.jar:/System/Library/Java/Extensions/MRJToolkit.jar:/System/Library/Java/Extensions/QTJava.zip:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home/lib/ext/apple_provider.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home/lib/ext/sunpkcs11.jar
  Application Classpath   = /Applications/gephi.app/Contents/Resources/gephi/platform/lib/boot.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/org-openide-modules.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/org-openide-util-lookup.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/org-openide-util.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_ar_SA.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_bg.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_ca.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_cs.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_de.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_es.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_fr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_gl_ES.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_in_ID.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_it.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_ja.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_ko.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_nl_NL.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_pl.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_pt_BR.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_pt_PT.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_ro.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_ru.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_si.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_sq.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_sv.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_tr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_zh_CN.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/boot_zh_TW.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_ar_SA.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_bg.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_ca.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_cs.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_de.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_es.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_fr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_gl_ES.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_in_ID.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_it.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_ja.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_ko.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_nl_NL.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_pl.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_pt_BR.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_pt_PT.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_ro.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_ru.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_si.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_sq.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_sv.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_tr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_zh_CN.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-modules_zh_TW.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_bg.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_ca.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_cs.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_de.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_es.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_fr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_gl_ES.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_in_ID.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_it.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_ja.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_ko.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_nl_NL.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_pl.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_ro.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_ru.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_si.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_sv.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_tr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_ar_SA.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_bg.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_ca.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_cs.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_de.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_es.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_fr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_gl_ES.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_in_ID.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_it.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_ja.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_ko.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_nl_NL.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_pl.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_pt_BR.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_pt_PT.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_ro.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_ru.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_si.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_sq.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_sv.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_tr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_zh_CN.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/lib/locale/org-openide-util_zh_TW.jar:/Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home/lib/dt.jar
  Startup Classpath       = /Applications/gephi.app/Contents/Resources/gephi/platform/core/core.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/org-openide-filesystems.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_ar_SA.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_bg.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_ca.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_cs.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_de.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_es.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_fr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_gl_ES.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_in_ID.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_it.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_ja.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_ko.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_nl_NL.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_pl.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_pt_BR.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_pt_PT.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_ro.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_ru.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_si.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_sq.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_sv.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_tr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_zh_CN.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/core_zh_TW.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_ar_SA.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_bg.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_ca.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_cs.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_de.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_es.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_fr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_gl_ES.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_in_ID.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_it.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_ja.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_ko.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_nl_NL.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_pl.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_pt_BR.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_pt_PT.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_ro.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_ru.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_si.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_sq.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_sv.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_tr.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_zh_CN.jar:/Applications/gephi.app/Contents/Resources/gephi/platform/core/locale/org-openide-filesystems_zh_TW.jar:/Applications/gephi.app/Contents/MacOS/../Resources/gephi/bin/../gephi/core/locale/core_gephi.jar
-------------------------------------------------------------------------------
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module org.gephi.filters.api: added = [module org.openide.awt] removed = []; details: [SaveCookie extends Savable. To compile you need to include openide.awt on classpath.]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module org.gephi.layout.api: added = [module org.openide.awt] removed = []; details: [SaveCookie extends Savable. To compile you need to include openide.awt on classpath.]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module org.gephi.layout.plugin: added = [module org.openide.awt] removed = []; details: [SaveCookie extends Savable. To compile you need to include openide.awt on classpath.]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module org.gephi.tools.plugin: added = [module org.openide.awt] removed = []; details: [SaveCookie extends Savable. To compile you need to include openide.awt on classpath.]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module org.gephi.ui.project: added = [module org.openide.awt] removed = []; details: [SaveCookie extends Savable. To compile you need to include openide.awt on classpath.]
Loading native libraries

nsecord
Posts:4
Joined:25 Sep 2012 07:50
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Problem installing Gephi 0.8.1 on Mac OS X 10.8.2

Post by nsecord » 27 Sep 2012 11:16

Eureka, Success !!!!

I downloaded the latest Java update for OS X from the Apple Developer site (2012-05) and this updated the JDK to version 1.6.0_35.

After installation, I looked at the symbolic link in /System/Library/Frameworks/JavaVM.framework/Versions and saw that it was wrong, it pointed to /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents. I redid the symbolic with

Code: Select all

sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_35-b10-428.jdk/Contents /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
and when I started Gephi it ran.

To be thorough, I set the symbolic link back to point the previous JDK to see if that was really what was causing the problem and low and behold Gephi ran. So the problem does not seem to be related specifically to the JDK.

Two things:
- the JVM has been updated so it could have been something in the previous JVM
- I noticed that when I installed the Java update, it created a lot of additional symbolic links:
1.4 -> CurrentJDK
1.4.2 -> CurrentJDK
1.5 -> CurrentJDK
1.5.0 -> CurrentJDK
1.6 -> CurrentJDK
1.6.0 -> CurrentJDK
It could be that somewhere in the code there is a dependance on one of these symbolic links to find the JDK.

Anyway, things are now working but it is not clear to me why.

asymptote
Posts:2
Joined:03 Oct 2012 22:00
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Problem installing Gephi 0.8.1 on Mac OS X 10.8.2

Post by asymptote » 03 Oct 2012 23:26

I just wanted to add that installing the latest development version of Java, 1.6.0_35, does not resolve the issue for me. I've posted in another thread about my problem, which is identical to this, and am waiting a moderator's approval for the post.

nicholsn
Posts:1
Joined:29 Oct 2012 07:01
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Problem installing Gephi 0.8.1 on Mac OS X 10.8.2

Post by nicholsn » 29 Oct 2012 14:12

Thank you for the post @nsecord! I was struggling with this exact same issue for months every since I upgraded to 10.8.2. Here are a few lessons learned:

I went ahead and upgraded to the latest version of Java:

Code: Select all

:~ java -version
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
But was still getting the same error with "Unable to load libjogl_awt.jnilib" ... The key for me seemed to be reconfiguring the symlinks. As soon as I set the CurrentJDK symlink to the updated version of Java, everything seems to be working.

Code: Select all

:~ sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
Thanks again!

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable