Challenges in Configuring OpenMRS Development Environments on M1/M2 Macs

Hello

Setting up an OpenMRS development environment on M1/M2 Macs has been challenging due to compatibility issues with dependencies. For instance; some versions of Java and related libraries required by OpenMRS may not work seamlessly on Apple Silicon. :innocent:

Additionally; tools like Docker can experience performance bottlenecks in emulation mode / may require specific configurations to run properly.

Another challenge is identifying the right versions of dependencies that align with OpenMRS’s requirements while also being compatible with the macOS ARM architecture.

This can be especially tricky for new developers unfamiliar with resolving dependency conflicts / customizing configurations for non-standard setups. The lack of detailed documentation for Apple Silicon adds another layer of complexity. :upside_down_face:

I’d like to hear from anyone who has successfully set up OpenMRS on an M1/M2 Mac. What workarounds, configurations, or alternative tools helped you overcome these challenges? :thinking: Checked https://devmanual.openmrs.org/technology/getsetup/mlops documentation guide for reference .

Are there plans for official Apple Silicon support or updated documentation for development environments?

Thank you ! :slightly_smiling_face:

I have not done anything special. It all just works. Can you share the exact details of the errors that you get?

I also faced compatibility issues with Java on my M2 Mac. Here’s the solution I got from the community—check it out, it works! Slack discussion

Personally, I downloaded Java version 1.8 from SDKMAN.

2 Likes