Return the value of the os.arch property
()
| 205 | * Return the value of the os.arch property |
| 206 | */ |
| 207 | static public String getNativeArch() { |
| 208 | // This will return "arm" for 32-bit ARM on Linux, |
| 209 | // and "aarch64" for 64-bit ARM on Linux (rpi) and Apple Silicon |
| 210 | // (the latter only when using a native 64-bit ARM VM on macOS, |
| 211 | // which as of 4.0 alpha 5 is not being used b/c of missing libs). |
| 212 | return System.getProperty("os.arch"); |
| 213 | } |
| 214 | |
| 215 | |
| 216 | static public String getVariant() { |