arx icon indicating copy to clipboard operation
arx copied to clipboard

[FEATURE] Release UI also for macs with M1 chip / ARM64 (-> update Eclipse/SWT to version >= 4.20)

Open prasser opened this issue 2 years ago • 2 comments

macos-aarch64

prasser avatar Jan 05 '23 10:01 prasser

This has become more pressing now that Apple has committed to removing Rosetta support from macOS 28 and upwards.

For anyone else needing to run ARX on I'm currently able to run ARX using the Azul Zulu 17 JDK for x64 JDK (+FX) by the following steps:

  1. Download the DMG installer.
  2. If Zulu 17 for ARM64 is already installed: move the directory /Library/Java/JavaVirtualMachines/zulu-17.jdk to another name, e.g. /Library/Java/JavaVirtualMachines/zulu-17_arm64.jdk, and maybe edit $JAVA_HOME as needed.
  3. Install Zulu 17. It will also install to /Library/Java/JavaVirtualMachines/zulu-17.jdk, hence (2).
  4. Move /Library/Java/JavaVirtualMachines/zulu-17.jdk to e.g. /Library/Java/JavaVirtualMachines/zulu-17_x64.jdk to differentiate Rosetta and native versions of the JDK.
  5. Issue export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17_x64.jdk/Contents/Home
  6. Run java -version and verify the version and architecture.
  7. Run ARX using e.g. java -XstartOnFirstThread -jar ~/Downloads/arx-3.9.1-osx-64.jar

jpwiedekopf avatar Jul 08 '25 15:07 jpwiedekopf

Thanks for the headsup. Adding this requires updating Eclipse/SWT to at least version 4.20, which was the first to add aarch64 support for cocoa.

prasser avatar Jul 12 '25 10:07 prasser