Skip to content

Commit 6ae0de0

Browse files
committed
[OPENJDK-390] fix JAVA_HOME for runtime images
The path /usr/lib/jvm/jre exists in both images, the prior values do not. Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 8598530 commit 6ae0de0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/jre/11/module.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ labels:
1414

1515
envs:
1616
- name: "JAVA_HOME"
17-
value: "/usr/lib/jvm/java-11"
17+
value: "/usr/lib/jvm/jre"
1818
- name: "JAVA_VENDOR"
1919
value: "openjdk"
2020
- name: "JAVA_VERSION"

modules/jre/8/module.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ labels:
1414

1515
envs:
1616
- name: "JAVA_HOME"
17-
value: "/usr/lib/jvm/java-1.8.0"
17+
value: "/usr/lib/jvm/jre"
1818
- name: "JAVA_VENDOR"
1919
value: "openjdk"
2020
- name: "JAVA_VERSION"

0 commit comments

Comments
 (0)