Crash on ARM 64 (Silicon M1) - Azul Open JDK

The worst monsters in the Hearthlands warp the fabric of space and time...

Crash on ARM 64 (Silicon M1) - Azul Open JDK

Postby Noid » Thu Aug 18, 2022 10:35 am

Tried to run both the default and Ender builds and getting same error:

java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/ss/g1j6sd5d4rx_zphw_1t_grjm0000gn/T/jogamp_0000/file_cache/jln4213552640580305583/jln2873904720074274717/natives/macosx-universal/libgluegen_rt.dylib
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2398)
at java.base/java.lang.Runtime.load0(Runtime.java:785)
at java.base/java.lang.System.load(System.java:1979)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:604)
at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:64)
at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:107)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:488)
at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:427)
at com.jogamp.common.os.Platform$1.run(Platform.java:321)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at com.jogamp.common.os.Platform.<clinit>(Platform.java:290)
at com.jogamp.opengl.GLProfile.<clinit>(GLProfile.java:154)
at haven.JOGLPanel.mkcaps(JOGLPanel.java:74)
at haven.JOGLPanel.<init>(JOGLPanel.java:94)
at haven.MainFrame.<init>(MainFrame.java:180)
at haven.MainFrame.main2(MainFrame.java:407)
at haven.MainFrame.lambda$main$0(MainFrame.java:443)
at java.base/java.lang.Thread.run(Thread.java:833)


If anyone tried to run it on ARM64 architecture before or know how to fix, I'd really appreciate any advice.

Cheers
User avatar
Noid
 
Posts: 94
Joined: Sun May 26, 2013 4:12 pm

Re: Crash on ARM 64 (Silicon M1) - Azul Open JDK

Postby loftar » Thu Aug 18, 2022 6:58 pm

It is true that JOGL does not support ARM64 on MacOS. You can "fix" this by using one of the x86-64 JVMs and run that under Rosetta. Another option, if you are of the developer kind, is to try the LWJGL branch (which is still somewhat experimental).
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 8926
Joined: Fri Apr 03, 2009 7:05 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 8 guests