GUIDE:Setting up OpenMRS SDK on Apple Silicon (M1/M2/M3) with Java 11 & MySQL 8

Fix: NashornScriptEngine Error on Mac (M1/M2/M3)

Cause

OpenMRS 2.x is incompatible with Java 15+ due to removal of Nashorn.

Solution

  1. Install Java 11 brew install openjdk@11

  2. Set JAVA_HOME export JAVA_HOME=$(/usr/libexec/java_home -v 11)

  3. Install MySQL brew install mysql

  4. Grant permissions GRANT ALL PRIVILEGES ON gsoc.* TO ‘openmrs’@‘localhost’;

  5. Use SDK distro referenceapplication:2.13.0

"Hi everyone! Update on my pre-proposal journey:

I’ve successfully resolved the UX and i18n issues in esm-core under O3-5544. All three of my PRs (#1686, #1689, #1690) are now passing all technical and title checks.

I’ve officially uploaded my draft proposal for the Native O3 Audit Trail Frontend project to the GSoC dashboard. My focus is on modernizing the administrative experience in O3 using React and the Carbon Design System. I’d love any feedback from the mentors on my technical approach!