adoptium / containers

Repo containing the dockerfiles and scripts to produce the official eclipse-temurin containers.
https://hub.docker.com/_/eclipse-temurin/
Apache License 2.0
216 stars 93 forks source link

[Bug]: libjvm.so failed to load: j9vm29 #490

Closed NahidulIslam-Mylab closed 7 months ago

NahidulIslam-Mylab commented 8 months ago

Please add the exact image (with tag) that you are using

eclipse-temurin:17.0.8.1_1-jdk-jammy

Please add the version of Docker you are running

Docker version 24.0.7, build afdd53b

What happened?

Get this error in Mac M3 Pro Sonoma 14.3

Relevant log output

2024-01-24 14:30:47 libjvm.so preloadLibrary(/opt/java/openjdk/lib/default/libj9vm29.so): /opt/java/openjdk/lib/default/libj9vm29.so: cannot enable executable stack as shared object requires: Invalid argument
2024-01-24 14:30:47 libjvm.so failed to load: j9vm29
karianna commented 8 months ago

@NahidulIslam-Mylab You'll want to try the latest 17.0.10 image coming out next week. Is there a reason why you're not using Mac OS X Aarch64 build natively? Also is that Docker for Aarch64 with an Arch64 JVM or are you going through Rosetta?

NahidulIslam-Mylab commented 7 months ago

@karianna we are using custom images which are build on x86 and there is no Aarch64 for them. Those are build by different team and we have no control over that. But, I think apple is going to fix that in their next release.

NahidulIslam-Mylab commented 7 months ago

Apple is going to fix that in the next release of macOS Sonoma. Hence, closing it.