java -XshowSettings 2>&1 | grep " os."
os.arch = x86_64
os.name = Mac OS X
os.version = 11.5.1
java -version
openjdk version "17" 2021-09-14
OpenJDK Runtime Environment (build 17+35-2724)
OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
uname -a
Darwin dev-mac 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
On 2021/08/10 23:40:41, 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
>
>
>
>
---------------------------------------------------------------------
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