Skip to content

fix: HSM configure_hsm.sh fails on OpenJDK 21 due to removed lib/ext - #441

Open
peterhaochen47 wants to merge 1 commit into
mainfrom
pr/main/fix-hsm-deploy-failure-minimum
Open

fix: HSM configure_hsm.sh fails on OpenJDK 21 due to removed lib/ext#441
peterhaochen47 wants to merge 1 commit into
mainfrom
pr/main/fix-hsm-deploy-failure-minimum

Conversation

@peterhaochen47

Copy link
Copy Markdown
Contributor
  • remove code that relies on old of date JVM:

    • The removed code even has comment saying so: "JVM 8 - WILL NOT WORK ON JVM 11"
  • The Java Extension Mechanism (lib/ext directory) was permanently removed in JEP 220 (Java 9). The configure_hsm.sh script was copying Luna HSM JSP libraries to $JAVA_HOME/lib/ext/, causing the pre-start script to crash.

TNZ-112110
ai-assisted=yes

- remove code that relies on old of date JVM:
  - The removed code even has comment saying so:
  "JVM 8 - WILL NOT WORK ON JVM 11"

- The Java Extension Mechanism (lib/ext directory) was permanently removed
in JEP 220 (Java 9). The configure_hsm.sh script was copying Luna HSM
JSP libraries to $JAVA_HOME/lib/ext/, causing the pre-start script to
crash.

TNZ-112110
ai-assisted=yes
@peterhaochen47
peterhaochen47 requested a review from hsinn0 June 23, 2026 19:19
@hsinn0 hsinn0 self-assigned this Jun 24, 2026
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.

2 participants