All J binaries that downloaded from jsoftware website, jconsole libj libjpcre2 jqt libjqt Qtlib are fat binaries, they will run natively on both Intel and arm64.
Only exception are avx and avx2 version of libj which can't run on arm64. On apple m1, you can run j both in Intel and arm64 mode. Try 9!:56'cpu' by starting j as arch -x86_64 ./jconsole and arch -arm64 ./jconsole On Mon, May 23, 2022, 7:37 AM 'robert therriault' via Programming < programm...@jsoftware.com> wrote: > Is there a version that will run native on an M1 Mac using the arm > architecture, Bill? > > Cheers, bob > > > On May 22, 2022, at 16:29, bill lam <bbill....@gmail.com> wrote: > > > > Not sure your version and how you started J. > > > > all J related nonavx binaries (console, jqt) are fat binaries. > > > > On Mon, 23 May 2022 at 6:52 AM Jinwoo Lee <jinwo...@gmail.com> wrote: > > > >> I'm a J noob and am experimenting with interfacing the openssl C library > >> from J now. > >> > >> My laptop is an M1 macbook. When I call functions from libcrypto.dylib > in a > >> terminal, things work perfectly. But when I do the same thing in Jqt, I > get > >> an error like this. > >> > >> dlopen(/opt/homebrew/opt/openssl/lib/libcrypto.dylib, 0x0001): tried: > >> '/opt/homebrew/opt/openssl/lib/libcrypto.dylib' (mach-o file, but is an > >> incompatible architecture (have 'arm64', need 'x86_64')), > >> '/opt/homebrew/Cellar/openssl@3/3.0.3/lib/libcrypto.3... > >> > >> I think this is because J for Mac is built as x86 binaries and on M1 > >> machines, it runs through Rosetta. And this would mean that I wouldn't > be > >> able to build a GUI app using Jqt. > >> > >> Any chance you folks are planning to release the M1 version as well as > the > >> x86 version? > >> > >> Cheers, > >> Jinwoo > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > >> > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm