~$ uname -a
Darwin MacBook-Pro.local 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23
00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64
~$ java -version
openjdk version "9.0.4"
OpenJDK Runtime Environment (build 9.0.4+11)
OpenJDK 64-Bit Server VM (build 9.0.4+11, mixed mode)
~$ java -XshowSettings 2>&1 | grep " os."
os.arch = x86_64
os.name = Mac OS X
os.version = 10.16
os_RU, pa, pa_IN, pa_IN_#Guru, pa_PK, pa_PK_#Arab, pa__#Arab,
pa__#Guru,
~$
On Tue, Aug 10, 2021 at 5: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
>
>
>
>
--
---
Jack Woehr # Woehr's Asymptote: The ratio of the time spent
Box 51, Golden CO 80402 # administering productivity software over the time
http://www.softwoehr.com # saved by said software eventually approximates 1.