Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] MacOS installer is sensitive to architecture. It requires an x86 JVM #6020

Open
jonbartels opened this issue Dec 11, 2023 · 0 comments
Labels
bug Something isn't working Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-12068 triaged

Comments

@jonbartels
Copy link
Contributor

jonbartels commented Dec 11, 2023

Describe the bug
MacOS installer won't work on ARM Macs unless an x86 JVM is installed.

To Reproduce

  1. Download the MacOS installer package
  2. Run the installer from the command line so you can see logs, INSTALL4J_LOG=yes ./Mirth\ Connect\ Installer.app/Contents/MacOS/JavaApplicationStub -manual -c
  3. Observe logs like checkArchitecture(CFBundleRef) [Line 83] checking architectures 16777223 ( 16777228 )
  4. 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:https://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 :

  • OS: MacOS Sonoma on an M1 MacBook
  • 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.

@jonbartels jonbartels added the bug Something isn't working label Dec 11, 2023
@jonbartels jonbartels changed the title [BUG] MacOS installer is sensitive to architecture [BUG] MacOS installer is sensitive to architecture. It requires an x86 JVM Dec 11, 2023
@lmillergithub lmillergithub added triaged Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-12068 labels Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-12068 triaged
Projects
None yet
Development

No branches or pull requests

2 participants