pdfsam
pdfsam copied to clipboard
port to arm64 linux,runtime issues
Hello, I try to compile or use Pdfsam on an arm64 linux, but I am not familiar with java (only Google)
Now, if I use the complete jdk21 (that is, bellsoft-jre21.0.2+14-linux-aarch64-full.tar.gz), the program can run smoothly. But this runtime is too large.
I tried to compile, but javafx does not have 21.0.2 release version for aarch64. if forced use of 22 ea+28 version ,failed to compile too, which made it impossible to compile arm64 version from source code.
Another solution is to use jlink to generate a runtime, but if I use jdk21 full, the runtime will report
java.lang.module.FindException: Hash of javafx.base (6035a5c54d5503bea5ea52e7336789fb7001bbb5a745ec9cf2e6417ed91c9d4a) differs to expected hash (520553e3c7be0bb2d5ca3636df9174f0313f43cd3f88f59a504f09ed0891676c) recorded in java.base
If I use the standard openjdk without javafx, the runtime will report a javafx error, and an .so in the cache fails to load (amd64 instead of aarch64)
How can I get a less bloated jfx runtime