os.arch = amd64
os.name = Linux
os.version = 5.4.0-80-generic
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
Regards,
Siddhesh Rane
________________________________
From: Matthias Bl?sing <[email protected]>
Sent: Tuesday, August 10, 2021 7:40 PM
To: [email protected] <[email protected]>
Subject: Values of os.arch for mac OS (x86-64 and aarch64) and windows aarch64
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://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&data=04%7C01%7Crane.si%40northeastern.edu%7C2dd1eb3cfd874a1fd45b08d95c584aa4%7Ca8eec281aaa34daeac9b9a398b9215e7%7C0%7C0%7C637642356542844293%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=4i6cS%2BMNUIdgXwUVp3B5Gpap1svsu9OzIIbMrisSEOI%3D&reserved=0