I’m experiencing an issue when trying to start a Java application on a RHEL server. I’m confident that the application itself is configured correctly, as it runs without any problems on other servers.
This particular server has been hardened, but I don’t believe the hardening is causing the issue. I temporarily disabled the hardening settings, and the application still failed to start. Interestingly, the same application is working on another hardened server.
I’m not very familiar with Java or RHEL in this context, so I would appreciate any guidance or suggestions. Has anyone encountered a similar issue or have any idea what might be going wrong?
Thank you in advance for your help!
OpenJDK Runtime Environment (build 17.0.7+7) from Eclipse Adoptium - OpenJDK 64-Bit Server VM (build 17.0.7+7, mixed mode, sharing) - Linux 4.18.0-477.15.1.el8_8.x86_64, architecture: amd64-64
INFO - [16:56:26|main] - Starting application CIACLIENT
Apr 04, 2025 4:56:26 PM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @1880a322'
Loading library prism_es2 from resource failed: java.lang.UnsatisfiedLinkError: /home/cia/.openjfx/cache/18.0.1+2/libprism_es2.so: /home/cia/.openjfx/cache/18.0.1+2/libprism_es2.so: failed to map segment from shared object
java.lang.UnsatisfiedLinkError: /home/cia/.openjfx/cache/18.0.1+2/libprism_es2.so: /home/cia/.openjfx/cache/18.0.1+2/libprism_es2.so: failed to map segment from shared object
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
[cia@ciaserver 18.0.1+2]$ ldd libprism_es2.so ldd: warning: you do not
have execution permission for ./libprism_es2.so'
not a dynamic executable
[cia@ciaserver 18.0.1+2]$ ldd libprism_sw.so
ldd: warning: you do not have execution permission for
./libprism_es2.so'
not a dynamic executable