Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port to arm64 linux,runtime issues #579

Open
kero990 opened this issue Mar 11, 2024 · 1 comment
Open

port to arm64 linux,runtime issues #579

kero990 opened this issue Mar 11, 2024 · 1 comment

Comments

@kero990
Copy link

kero990 commented Mar 11, 2024

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

@repox-repos
Copy link

Hi, I've been trying to install pdfsam on deb linux running on chromebook, but I'm stuck on deb packages apparently missing for arm64 architecture from debian repository. So... I tried to compile pdfsam but I was compiling software at the time of "make" and now I'm totally lost.

If I understand well, you managed to have a pdfsam running on linux arm: how did you do?

Thanks in advance

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

No branches or pull requests

2 participants