[Jprogramming] J903-beta-v
Ian Clark
earthspotty at gmail.com
Thu Nov 18 09:34:30 UTC 2021
@ 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 at Ians-Mac-mini ~ % arch
arm64
Guessing from your instructions, the following command line ought to run
arm64 in j903, but I get errors…
ianclark at Ians-Mac-mini ~ % arch arm64 ./jconsole
arch: Can't find arm64 in PATH
ianclark at Ians-Mac-mini ~ % arch -arm64 ./jconsole
arch: ./jconsole isn't executable
ianclark at 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 at Ians-Mac-mini ~ % arch -arm64 /Applications/j903/jcon903.app
arch: /Applications/j903/jcon903.app isn't executable
ianclark at 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 <bbill.lam at gmail.com> 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 <eric.b.iverson at gmail.com>
> 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
>
More information about the Programming
mailing list