if you just run ./jconsole it should be arm64
On Thu, 18 Nov 2021 at 5:35 PM Ian Clark <[email protected]> wrote: > @ Bill > > I'm running an Apple M1 Mini. > Following Eric's instructions, I've just upgraded to j903-beta-v. > It's using Rosetta to run x86_64 even though there's meant to be an arm64 > binary in the app package > > JVERSION > > Engine: j903/j64/darwin > > Beta-v: commercial/2021-11-16T21:51:35 > > Library: 9.03.06 > > Qt IDE: 1.9.4/5.15.2(5.15.2) > > Platform: Darwin 64 > > Installer: J903 install > > InstallPath: /applications/j903 > > Contact: www.jsoftware.com > > > Out-of-the-box, I get: > > 9!:56'cpu' > > x86_64 > > > i.e. NOT arm64 > > > If I launch Terminal, I get: > > ianclark@Ians-Mac-mini ~ % arch > arm64 > > > Guessing from your instructions, the following command line ought to run > arm64 in j903, but I get errors… > > > ianclark@Ians-Mac-mini ~ % arch arm64 ./jconsole > arch: Can't find arm64 in PATH > > ianclark@Ians-Mac-mini ~ % arch -arm64 ./jconsole > arch: ./jconsole isn't executable > ianclark@Ians-Mac-mini ~ % arch -arm64 jconsole > The operation couldn’t be completed. Unable to locate a Java Runtime. > Please visit http://www.java.com for information on installing Java. > > > …okay, maybe that's the wrong "jconsole" > > and maybe I need the full path to the J executable > > > ianclark@Ians-Mac-mini ~ % arch -arm64 /Applications/j903/jcon903.app > arch: /Applications/j903/jcon903.app isn't executable > ianclark@Ians-Mac-mini ~ % arch -arm64 /Applications/j903/bin/jconsole > arch: posix_spawnp: /Applications/j903/bin/jconsole: Bad CPU type in > executable > > > Now I give up. > > Anyway, why isn't macOS (Monterey, Version 12.0.1) finding the arm64 binary > by default? > > Suggestions? > > On Wed, 17 Nov 2021 at 23:43, bill lam <[email protected]> wrote: > > > Apple M1: > > > > This Mac j64 fat binary contains both binary for x86_64 and arm64 > > architectures so that it runs in native arm64 mode on apple M1. To query > > its cpu architecture, type > > 9!:56'cpu' > > arm64 > > > > To force it to run in x86_64 mode on apple M1 via Rosetta 2, type > > $ arch x86_64 ./jconsole > > 9!:56'cpu' > > x86_64 > > > > Rosetta 2 doesn’t support avx or avx2. > > > > On Thu, 18 Nov 2021 at 4:20 AM Eric Iverson <[email protected]> > > wrote: > > > > > J903-beta-v is available for all platforms. > > > > > > If you already run J903-beta, then upgrade is easy: > > > load'pacman' > > > 'upgrade'jpkg'jengine' > > > > > > If you have not yet installed J903-beta, time to get started! > > > https://code.jsoftware.com/wiki/System/Installation/J903 > > > > > > We are nearing the end of the beta cycle. Please make good use of this > > time > > > to help the J community to have the best release possible. > > > > > > Release notes: > > > https://code.jsoftware.com/wiki/System/ReleaseNotes/J903 > > > > > > Questions/bug reports/etc. should go to the beta forum. > > > ---------------------------------------------------------------------- > > > 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
