Today I’m starting to move my open-source projects to Java SE 9. I’ve covered the various significant changes in that release in four previous posts:
- Java SE 9 First Look
- Java 9 Incompatibilities
- JavaFX DPI Scaling in Java 9
- JavaFX Spinner for Numbers (updated)
As described there, some unexpected factors came up that turned the move to Java 9 into more than just a recompilation. Specifically, all projects were updated concerning the following issues:
- Oracle has dropped the 32-bit Windows JRE with its obsolete Client VM and also disabled browser integration by default, so I can stop warning people about that.
- JavaFX stopped special-casing 120 DPI (= 125%) on Windows, so troubleshooting tips regarding layout errors at that setting are no longer necessary.
- JavaFX now correctly scales minimum and maximum window sizes. Another known error that was dropped from the ReadMe files.
- JavaFX spinners now bind their editor’s
ToolTipproperty to that of the spinner. Setting the editor
ToolTipdirectly is no longer necessary nor indeed possible.
- Source packages were switched to IntelliJ IDEA projects, as NetBeans still doesn’t have an official Java 9 release.
I decided to require Java 9 rather than create builds compatible with Java 8 because that’s awkward for JavaFX applications (requires the Java 8
jfxrt.jar), and would also mean people could still run into the old 32-bit JRE and JavaFX issues. A clean break is best here.
In this section you can find all projects that have already been moved to Java 9. I’ll keep the list updated with freshly ported projects as they are released. I don’t plan to simultaneously implement any other big changes, so aside from the issues noted above there should be only minor bugfixes.