r/java • • 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.

9 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/perryplatt Dec 24 '25

So what is the latest version that you want to run? Officially 11 is the latest on 32 bit arm linux. If you got 17 working I would likely stop there. My comment on interpreter only is hotspot will require hardware features in order to work completely.

1

u/disorder75 Dec 24 '25

The last possible one. I want to push as far as I can, but another user pointed out some posts to me saying they're permanently abandoning 32-bit support, so Java on armv6hf will probably die between versions 17 and 20/22. In the next few days, I'll do more testing on jafafx graphics and then try to build a version 20 or 21.

I was interested in the official releases because they run tests on those, but I haven't found a way to do so to determine the reliability of my builds.

I'm currently working on JVM 17.0.8.1 and Jfx17, but without testing the builds, they could crash at runtime at any time.

1

u/perryplatt Dec 24 '25

There is a porters group openjdk mailing list. It might be better to post this question there.