Skip to content

fix: upgrade Java 11 to 17 for Synthea in importRandomPatients#580

Merged
kojiromike merged 1 commit intoopenemr:masterfrom
kojiromike:fix-synthea-java
Mar 6, 2026
Merged

fix: upgrade Java 11 to 17 for Synthea in importRandomPatients#580
kojiromike merged 1 commit intoopenemr:masterfrom
kojiromike:fix-synthea-java

Conversation

@kojiromike
Copy link
Copy Markdown
Member

Summary

  • Synthea's master-branch-latest release now requires Java 17+ (class file version 61.0)
  • All devtoolsLibrary.source files install openjdk11-jre (Java 11), causing UnsupportedClassVersionError when running openemr-cmd irp
  • Change openjdk11-jreopenjdk17-jre in all active container versions (7.0.3, 7.0.4, 8.0.0, 8.0.1, binary, flex)

All affected images use Alpine 3.20+, which includes openjdk17-jre.

Fixes #578

Test plan

  • openemr-cmd irp successfully imports random patients with the flex image

🤖 Generated with Claude Code

Synthea's master-branch-latest release now requires Java 17+ (class
file version 61.0). The existing openjdk11-jre (Java 11, class file
version 55.0) causes UnsupportedClassVersionError, breaking
`openemr-cmd irp` for all users.

Fixes openemr#578

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kojiromike kojiromike merged commit 000f57f into openemr:master Mar 6, 2026
36 checks passed
@kojiromike kojiromike deleted the fix-synthea-java branch March 6, 2026 23:37
@bradymiller
Copy link
Copy Markdown
Member

nice! I just rebuilt the flex alpine 3.22 dockers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

openemr-cmd irp broken: Synthea requires Java 17 but container installs Java 11

2 participants