Java 11 / Java 17 / Apple silicon support
Posted by
eazycncn on
Jul 12, 2023; 1:48pm
URL: https://forum.jogamp.org/Java-11-Java-17-Apple-silicon-support-tp4042769.html
Hi,
now that it has been two years (and I have a brand new M2 MBP) I thought I would try to upgrade my app to Apple Silicon.
I downloaded latest stable but I get runtime exception
#16:38:57.816 java.lang.UnsatisfiedLinkError: /private/var/folders/6f/6sf54sf50tq91_dnbq8pzq54s_tcs9/T/jogamp_0000/file_cache/jln11354631168340698021/jln12298245173066583045/natives/macosx-universal/libgluegen_rt.dylib: dlopen(/private/var/folders/6f/6sf54sf50tq91_dnbq8pzq54s_tcs9/T/jogamp_0000/file_cache/jln11354631168340698021/jln12298245173066583045/natives/macosx-universal/libgluegen_rt.dylib, 0x0001): tried: '/private/var/folders/6f/6sf54sf50tq91_dnbq8pzq54s_tcs9/T/jogamp_0000/file_cache/jln11354631168340698021/jln12298245173066583045/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/6f/6sf54sf50tq91_dnbq8pzq54s_tcs9/T/jogamp_0000/file_cache/jln11354631168340698021/jln12298245173066583045/natives/macosx-universal/libgluegen_rt.dylib' (no such file), '/private/var/folders/6f/6sf54sf50tq91_dnbq8pzq54s_tcs9/T/jogamp_0000/file_cache/jln11354631168340698021/jln12298245173066583045/natives/macosx-universal/libgluegen_rt.
From this post I thought Apple silicon might be supported:
https://forum.jogamp.org/Release-2-4-macOS-version-support-td4042483.htmlSo, simple question, is Java 17 + Apple Silicon supported or should I build this myself, as per this old thread:
ps://forum.jogamp.org/JOGL-for-Mac-ARM-Silicon-td4040887.html
My Application actually uses Java 11 so bonus points for answering if Java 11 + Apple Silicon is supported.
wbr Kusti