Is it possible to create minimal 'software-only' architecture implementation of JavaFX using Java2D/AWT?

Jeff Martin jeff at reportmill.com
Fri Jan 23 19:58:20 UTC 2026


I wonder, is the architecture independent part of JavaFX written in 100% Java? If so, would it be possible to write a minimal architecture implementation using Java2D/AWT, so many JavaFX apps could run with just the standard JVM?

I see the repo stats say that ~73% of JavaFX is written in C/C++, and obviously Java2D wouldn’t help with the 3D features or WebView, but a “software only” JavaFX version could be interesting and let many JavaFX apps run in the browser with CheerpJ.

jeff

PS - I did ask AI, but it’s unclear to me whether the architecture independent code drops into C before it uses platform dependent code. I’m guessing that it does.

https://chatgpt.com/share/6973d226-513c-8013-bcc1-0b70ec07a465

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-discuss/attachments/20260123/cf796e0a/attachment.htm>


More information about the openjfx-discuss mailing list