Closed
Description
Expected Behavior
Graph window will initialize and show graph.
Current Behavior
Graph window does not initialize. Instead, this error is produced:
java.lang.NoClassDefFoundError: Could not initialize class com.jogamp.opengl.GLProfile
at org.gephi.visualization.swing.GLAbstractListener.getCaps(GLAbstractListener.java:173)
at org.gephi.visualization.swing.GraphCanvas.<init>(GraphCanvas.java:66)
at org.gephi.visualization.VizController.createCanvas(VizController.java:310)
at org.gephi.visualization.VizController.initInstances(VizController.java:123)
at org.gephi.visualization.VizController.getInstance(VizController.java:88)
at org.gephi.visualization.component.VizBarController.createDefaultGroups(VizBarController.java:99)
at org.gephi.visualization.component.VizBarController.<init>(VizBarController.java:88)
at org.gephi.visualization.component.GraphTopComponent.initCollapsePanel(GraphTopComponent.java:118)
at org.gephi.visualization.component.GraphTopComponent.access$000(GraphTopComponent.java:77)
at org.gephi.visualization.component.GraphTopComponent$1$1.run(GraphTopComponent.java:99)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Steps to Reproduce
- Install Azul JDK Java 8 dmg on a stock M1 Mac.
- Set
jdkhome="/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home"
ingephi.conf
- Open Gephi
- Graph window does not initialize, Java throws error
Context
I'm just trying to use Gephi in ARM64 native build on M1 Mac. Gephi does work with x64 JDK on M1 with Rosetta, but that's no fun is it?
Your Environment
- Version used: Gephi 0.9.2
- Java version: Azul Java 8 JDK arm64
- Operating System: MacOS 11.1