AMD64
* os.*arch = x86_64 * os.*name = Mac OS X * os.*version = 11.5.1 M1 * os.*arch = aarch64 * os.*name = Mac OS X * os.*version = 11.5.1 On Tue, Aug 10, 2021 at 7:40 PM Matthias Bläsing <[email protected]> wrote: > Hi all, > > I'm preparing an update of JNA for NetBeans and this will bring changes > in the way the native libraries are packed. > > For the platforms: > > - mac OS on x86-64 (aka amd64) > - mac OS on aarch64 (aka M1) > - Windows on aarch64 > > I'm looking for the values of the system property "os.arch". It would > great if people owning such hardware and having 64bit native JDKs > running on them could provide the value. > > java -XshowSettings > > outputs it. > > java -XshowSettings 2>&1 | grep " os." > > filters the output directly. > > > For the "why"? > > Darwin (the base of mac OS) used to have fat binaries (all platforms in > a single library file), but Apple decided, that they only selectively > like that (applications were reported to be rejected from app store > because 32bit object code was found) and thus the feature is being > phase out from JNA to make it easier to strip the right binaries. For > NetBeans it means, that the binaries need to be placed in the right > folder and the requires the value of "os.arch". > > Support for Windows and mac OS aarch64 was recently added, which might > be helpful to get NetBeans running (better?) on these architectures. > > Greetings > > Matthias > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > > -- Carl J. Mosca
