-
Notifications
You must be signed in to change notification settings - Fork 116
JavaFX 20 #2638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
What about building for Apple silicon? -Djavafx.platform=mac-aarch64? |
georgweiss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At ESS we're starting commissioning next week. This will go on until beginning of August. During this period we'd like to avoid updates of this type. What we will plan for however is testing of current code base with Java 17 so that we're ready to make the leap come August.
|
Haven't tried to cross-build.
|
Definitely a good idea, since that's the LTS version. I'm OK with delaying the JFX20 update a little |
|
What is your build output? A JPackage generated installer? |
|
My build output is a zip file |
|
Javafx-21 is about to be released. https://github.com/openjdk/jfx/blob/jfx21/doc-files/release-notes-21.md didn't point me to essential bug fixes or new features, but GTK2 is gone, Linux must use GTK3. Would that be a reason for us to move to JFX-20, delaying JFX-21? |
|
hmm... the GTK3 only is a bit scary, I remember javafx (efxclipse) constantly crashing when used with GTK3. ESS has reported rendering issues. |
|
Agree on keeping GTK2 supported, I still select GTK2 on several Linux setups because it "works". |
|
Ran some tests on Ubuntu 20.04 with Java 17 and JavaFX 21. Could not see any GTK rendering issues. |
Updates JavaFX version to 20, the current one, https://github.com/openjdk/jfx/blob/jfx20/doc-files/release-notes-20.md
On Mac OS, this fixes the menu icons, https://bugs.openjdk.org/browse/JDK-8181084. Icons provided in high-res variants used to render in a wrong size, note data browser, file browser, logbook entry items:
With JavaFX 20, they render at the correct size:
On Mac OS, there is now also dedicated support for "Apple Silicon" aka "Arm", "M1", "M2", "aarch64", although as far as I can tell products built on/for the Intel x64 based version of OpenJDK for Mac OS will run fine on both Intel and Arm macs.
An update to JFX 20 does require at least JDK 17!
This requirement is shared with the apache derby lib as used by the scan server, #2465
So right now the github test builds which use JDK11 fail for the JFX 20 update.
JDK11 was released 2018. JDK 17 from Sept. 2021 is the current LTS release.
Might be time to overall require JDK 17 and then update JFX to 20.