Moving Projects to Java 9

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:

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 ToolTip property to that of the spinner. Setting the editor ToolTip directly 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.

Updated Projects

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.

2018-03-06: All active Java projects have now been moved to Java 9.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.