Describe the bug
MacOS installer won't work on ARM Macs unless an x86 JVM is installed.
To Reproduce
Download the MacOS installer package
Run the installer from the command line so you can see logs, INSTALL4J_LOG=yes ./Mirth\ Connect\ Installer.app/Contents/MacOS/JavaApplicationStub -manual -c
Installer will fail with ERROR: You need at least a 1.8 Java Virtual Machine to install Mirth Connect Installer. Please download it from http://java.com
Expected behavior
The installer should work with ANY installed JVM. Installing an x86 JVM on ARM is stupid because it has to run in Rosetta for compatibility. It's a JVM, the whole point is that Java apps can run anywhere on a JVM thats new enough and should not be architecture sensitive.
Java Distribution/Version - FAILS with Azul Zulu 11, 18, 20 for ARM; WORKS with Azul Zulu 17 for x86
Connect Version: 4.4.2
Workaround(s)
Install an x86 JVM instead of an ARM JVM
Additional context
The installer is not the best option for running Mirth but it is a good "front door" to get up and going fast. It should work on any JVM newer than Java 8.
Describe the bug MacOS installer won't work on ARM Macs unless an x86 JVM is installed.
To Reproduce
INSTALL4J_LOG=yes ./Mirth\ Connect\ Installer.app/Contents/MacOS/JavaApplicationStub -manual -c
checkArchitecture(CFBundleRef) [Line 83] checking architectures 16777223 ( 16777228 )
ERROR: You need at least a 1.8 Java Virtual Machine to install Mirth Connect Installer. Please download it from http://java.com
Expected behavior The installer should work with ANY installed JVM. Installing an x86 JVM on ARM is stupid because it has to run in Rosetta for compatibility. It's a JVM, the whole point is that Java apps can run anywhere on a JVM thats new enough and should not be architecture sensitive.
Logs Mirth Installer Logs.txt
Environment :
Workaround(s) Install an x86 JVM instead of an ARM JVM
Additional context The installer is not the best option for running Mirth but it is a good "front door" to get up and going fast. It should work on any JVM newer than Java 8.