Skip to content

Commit 000f57f

Browse files
kojiromikeclaude
andauthored
fix: upgrade Java 11 to 17 for Synthea in importRandomPatients (#580)
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 #578 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 43517ed commit 000f57f

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

docker/openemr/7.0.4/utilities/devtoolsLibrary.source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ importRandomPatients() {
238238
if [ ! -d /root/synthea ]; then
239239
echo "Setting up synthea first"
240240
apk update
241-
apk add openjdk11-jre
241+
apk add openjdk17-jre
242242
mkdir /root/synthea
243243
cd /root/synthea || exit
244244
wget https://github.com/synthetichealth/synthea/releases/download/master-branch-latest/synthea-with-dependencies.jar

docker/openemr/8.0.0/utilities/devtoolsLibrary.source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ importRandomPatients() {
238238
if [ ! -d /root/synthea ]; then
239239
echo "Setting up synthea first"
240240
apk update
241-
apk add openjdk11-jre
241+
apk add openjdk17-jre
242242
mkdir /root/synthea
243243
cd /root/synthea || exit
244244
wget https://github.com/synthetichealth/synthea/releases/download/master-branch-latest/synthea-with-dependencies.jar

docker/openemr/8.0.1/utilities/devtoolsLibrary.source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ importRandomPatients() {
635635
if [[ ! -d /root/synthea ]]; then
636636
echo "Setting up synthea first"
637637
apk update
638-
apk add openjdk11-jre
638+
apk add openjdk17-jre
639639
mkdir /root/synthea
640640
cd /root/synthea || exit
641641
wget https://github.com/synthetichealth/synthea/releases/download/master-branch-latest/synthea-with-dependencies.jar

docker/openemr/binary/utilities/devtoolsLibrary.source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ importRandomPatients() {
635635
if [[ ! -d /root/synthea ]]; then
636636
echo "Setting up synthea first"
637637
apk update
638-
apk add openjdk11-jre
638+
apk add openjdk17-jre
639639
mkdir /root/synthea
640640
cd /root/synthea || exit
641641
wget https://github.com/synthetichealth/synthea/releases/download/master-branch-latest/synthea-with-dependencies.jar

docker/openemr/flex/utilities/devtoolsLibrary.source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ importRandomPatients() {
500500
if [[ ! -d /root/synthea ]]; then
501501
echo "Setting up synthea first"
502502
apk update
503-
apk add openjdk11-jre
503+
apk add openjdk17-jre
504504
mkdir /root/synthea
505505
cd /root/synthea || exit
506506
wget https://github.com/synthetichealth/synthea/releases/download/master-branch-latest/synthea-with-dependencies.jar

0 commit comments

Comments
 (0)