r/java • u/disorder75 • Dec 22 '25
Armv6 openjdk + fx
Hi,
Two years ago, I tried container cross-compiling on x86 to get working builds of OpenJDK and JavaFX on ArmV6HF (Raspberry Pi Zero). It took me a long time, and then, due to work, I stopped. I managed to get working builds of one of the first versions of Java17.
Has anyone recently compiled the JDK and JavaFX for ArmV6?
I'd like to avoid having to start all over again.
Unfortunately, Gluon doesn't release builds for this architecture.
10
Upvotes
View all comments
Show parent comment
1
u/disorder75 Dec 23 '25
=== BUILDCHAIN (HOST, my laptop with a running container image based on Linux i386 arch)
Configuration summary:
Name: linux-arm-client-release
Debug level: release
HS debug level: product
JVM variants: client
JVM features: client: 'cds compiler1 epsilongc g1gc jfr jni-check jvmti management nmt parallelgc serialgc services vm-structs'
OpenJDK target: OS: linux, CPU architecture: arm, address length: 32
Version string: 17.0.8.1-internal+0-adhoc..jdk (17.0.8.1-internal)
Tools summary:
Boot JDK: openjdk version "17.0.17" 2025-10-21 OpenJDK Runtime Environment Temurin-17.0.17+10 (build 17.0.17+10) OpenJDK 64-Bit Server VM Temurin-17.0.17+10 (build 17.0.17+10, mixed mode, sharing) (at /root/.sdkman/candidates/java/17.0.17-tem)
Toolchain: gcc (GNU Compiler Collection)
C Compiler: Version 10.1.0 (at /opt/cross-pi-gcc/bin/arm-linux-gnueabihf-gcc)
C++ Compiler: Version 10.1.0 (at /opt/cross-pi-gcc/bin/arm-linux-gnueabihf-g++)
NOTE: What I cannot get is the JVM variant of "server"; I haven't investigated further, but it fails due to various exceptions.