I am running silverblue fc43 on aarch64 and want to install a java app that requires JRE, so I have installed flatpak org.freedesktop.Sdk.Extension.openjdk17.
But the app installer needs to know where is the JRE; what is the correct value for INSTALL4J_JAVA_HOME?
logs
lini@fsb:~$ flatpak info org.freedesktop.Sdk.Extension.openjdk17
OpenJDK 17 SDK Extension - The LTS (long term support) version of the OpenJDK
JRE and JDK
ID: org.freedesktop.Sdk.Extension.openjdk17
Ref: runtime/org.freedesktop.Sdk.Extension.openjdk17/aarch64/20.08
Arch: aarch64
Branch: 20.08
License: 0BSD AND Apache-1.1 AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND FTL AND GPL-2.0 AND GPL-2.0-with-classpath-exception AND IJG AND ISC AND LGPL-2.1-or-later AND MIT AND MPL-2.0 AND RSA-MD AND SAX-PD AND W3C AND Zlib
Origin: flathub
Collection: org.flathub.Stable
Installation: system
Installed: 668.9 MB
Commit: 3f0ef5db4befd16531f8e241cd1d63d938df3fdc9f1cafe93a097ae835253627
Parent: a235e3f999966274a33e2eded61d187bc0e914d70392d3e0e580a85734b67d40
Subject: Update to OpenJDK 17.0.1 (4360bb90)
Date: 2022-01-15 23:32:32 +0000
lini@fsb:~/Downloads$ sh ./PDFStudio_unix.sh
No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be at least 9 and at most 19.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.
I’m not a Java expert and I don’t know if PDF Studio will work properly, but with the following steps I was likely at least able to install it on an x86_64 Fedora Silverblue 43 machine.
Create (if you haven’t already) and enter into a toolbox container: toolbox enter
So, in your case, just omit the .x86_64 suffix from the command, i.e. type sudo dnf install --assumeyes java-latest-openjdk or explicitly install the java-latest-openjdk-1:25.0.1.0.8-0.1.fc43.aarch64 package.
I can’t currently test installing the java-latest-openjdk package on an AArch64 machine, but I think it should work.