Skip to content

fix(java): add s390x support with OpenJDK fallback#32

Closed
tejashgawasibm wants to merge 1 commit intoIBM:mainfrom
tejashgawasibm:fix/s390x-java-support
Closed

fix(java): add s390x support with OpenJDK fallback#32
tejashgawasibm wants to merge 1 commit intoIBM:mainfrom
tejashgawasibm:fix/s390x-java-support

Conversation

@tejashgawasibm
Copy link
Copy Markdown
Member

Error observed:

  • dpkg installation failure for temurin packages
  • Missing path: /usr/lib/jvm/temurin-*-jdk-s390x

🔍 Root Cause

Temurin JDK is not consistently available for s390x architecture in Adoptium repositories.
The script assumes its availability, causing installation and path resolution failures.

✅ Fix

  • Added architecture-aware handling in install-java-tools.sh
  • Introduced fallback to OpenJDK for s390x
  • Updated JAVA_HOME paths accordingly

@tejashgawasibm tejashgawasibm deleted the fix/s390x-java-support branch April 1, 2026 10:58
@tejashgawasibm tejashgawasibm restored the fix/s390x-java-support branch April 1, 2026 11:07
@tejashgawasibm tejashgawasibm reopened this Apr 1, 2026
@tejashgawasibm tejashgawasibm changed the title fix(java): add s390x support with OpenJDK fallback fix(java): add s390x support with OpenJDK fallbackSigned-off-by: Tejash Gawas <your-email@example.com> Apr 1, 2026
@tejashgawasibm tejashgawasibm changed the title fix(java): add s390x support with OpenJDK fallbackSigned-off-by: Tejash Gawas <your-email@example.com> fix(java): add s390x support with OpenJDK fallback Apr 1, 2026
Signed-off-by: Tejash Gawas <tejash.gawas@ibm.com>
@tejashgawasibm tejashgawasibm force-pushed the fix/s390x-java-support branch from 8bdc36d to 2d938cb Compare April 1, 2026 12:12
@tejashgawasibm tejashgawasibm deleted the fix/s390x-java-support branch April 2, 2026 04:31
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.

1 participant