r/java • u/[deleted] • Mar 12 '19
Announcing: JavaFX 12
https://gluonhq.com/announcing-javafx-12/48
9
u/RotaryJihad Mar 12 '19
This makes me very happy! https://bugs.openjdk.java.net/browse/JDK-8211304 was effecting a free (but not open source) tool my team uses. This release should make it easier for the upstream maintainers to update their dependencies and solve the issue.
8
Mar 12 '19
Is there a technical reason there's no build for 64-bit ARM processors? None of the ARM linux distros I've looked at have it. It seems like AWS a1 instances make build infrastructure a non-issue.
2
u/johan_vos Mar 19 '19
Interesting question. If ARM64 is growing on desktop, it is definitely something we have to look at for building.
1
Mar 19 '19
Build docs seem out of date, but in them I see,
Gradle automatically handles the downloading of all dependencies (such as Antlr and SWT located under \rt\build\libs)
Do you know how it downloads SWT? Fedora has latest Eclipse packaged on aarch64, so there must be an SWT package in there somewhere... Beyond SWT, are there any other native bits?
I am considering a Dockerfile OpenJFX build starting from Fedora so a) build instructions are extremely easy, and b) producing ARM builds is as easy as rerunning the container build on different machines. Maybe the OpenJFX team could take it and run them on AWS A1 instances at that point for official distribution.
Alternately, it seems someone managed to get a working build for ARMv7.
2
u/johan_vos Mar 20 '19
We have builds for ARMv6hf: https://gluonhq.com/products/javafx/
If there are changes needed to build on ARMv8, it would be great to create a PR at https://github.com/javafxports/openjdk-jfx so we can merge them. Basically, it probably starts with copying buildSrc/armv6hf.gradle into an armv8 specific file and make some changes. But I don't expect many changes.
2
u/iqgoldmine Mar 12 '19
what are the major differences?
8
u/deepthought-64 Mar 12 '19
I guess the most noted change is the version number :)
I quickly looked over the changelog [here] and found nothing earth-moving.
Edit:Fiddled around with the link
3
u/RotaryJihad Mar 12 '19
Release notes at - https://github.com/javafxports/openjdk-jfx/blob/jfx-12/doc-files/release-notes-12.md#release-notes-for-javafx-12
I am excited about the MacOS bugfixes.
1
u/openlowcode May 20 '19
I really appreciate your efforts. I am currently developing a framework making use of javafx, what I need is a stable framework that looks nice, is fast, and allows spreadsheet-like ergonomics. I think javafx is not far from there, and I am really looking forward at the improvements. Especially, I have been struggling with the tableview.
1
8
u/Taobitz Mar 12 '19
I’m going to show my ignorance here, but would you only use JavaFX be for thick clients?
Spring/DropWizard etc seem the dominant choice for web layer.
I’ve never needed to learn it if I’m honest, hence I’m curious where it best fits.