Issue
Locally built client on ARM Mac produces an Exception:
[java] Exception in thread "Haven main thread" java.lang.UnsatisfiedLinkError: /private/var/folders/sj/cqrbzbjs1t18v3jgtsd3vtm00000gn/T/jogamp_0000/file_cache/jln16038627640270459009/jln6062449462191120969/natives/macosx-universal/libgluegen_rt.dylib: dlopen(/private/var/folders/sj/cqrbzbjs1t18v3jgtsd3vtm00000gn/T/jogamp_0000/file_cache/jln16038627640270459009/jln6062449462191120969/natives/macosx-universal/libgluegen_rt.dylib, 0x0001): tried: '/private/var/folders/sj/cqrbzbjs1t18v3jgtsd3vtm00000gn/T/jogamp_0000/file_cache/jln16038627640270459009/jln6062449462191120969/natives/macosx-universal/libgluegen_rt.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/private/var/folders/sj/cqrbzbjs1t18v3jgtsd3vtm00000gn/T/jogamp_0000/file_cache/jln16038627640270459009/jln6062449462191120969/natives/macosx-universal/libgluegen_rt.dylib' (no such file), '/private/var/folders/sj/cqrbzbjs1t18v3jgtsd3vtm00000gn/T/jogamp_0000/file_cache/jln16038627640270459009/jln6062449462191120969/natives/macosx-universal/libgluegen_rt.dylib
Repro steps
- Build client with
ant bin command
- Run client with
ant run command
System specs
java --version:
java 17.0.9 2023-10-17 LTS
Java(TM) SE Runtime Environment (build 17.0.9+11-LTS-201)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.9+11-LTS-201, mixed mode, sharing)
javac --version:
ant -version:
Apache Ant(TM) version 1.10.14 compiled on August 16 2023
Proposed solution
Latest release of jogamp library fixes this issue, so it can be beneficial to update jogamp library fetched from the website to the new version.
When .jar files are replaced in lib/ext/jogl directory with the new release (https://jogamp.org/deployment/v2.5.0/archive/) this error goes away.
Issue
Locally built client on ARM Mac produces an Exception:
Repro steps
ant bincommandant runcommandSystem specs
java --version:javac --version:ant -version:Proposed solution
Latest release of jogamp library fixes this issue, so it can be beneficial to update jogamp library fetched from the website to the new version.
When
.jarfiles are replaced inlib/ext/jogldirectory with the new release (https://jogamp.org/deployment/v2.5.0/archive/) this error goes away.