forked from se-edu/addressbook-level4
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We currently advertise that we support "JDK 9 and above". However, * JDK 9 and JDK 10 are no longer readily downloadable from Oracle's website as they have "reached end of support"[1][2], * JDK 10 on Windows will crash when running tests in headless mode due to a JavaFX bug[3], * JDK 11 and above can't be easily used with our project as JavaFX is not distributed with Oracle JDK 11 and above anymore[4]. As these issues will likely not be resolved anytime soon, let's temporarily downgrade our project to JDK 8 for now, since it is stil available on Oracle's website, at least until the end of January. The commits which upgraded our project from JDK 8 to JDK 9+ are: * 889a105 (build.gradle: upgrade to use Java 9, 2018-03-01) * 544d89b (Warn developers against using JDK 10 on Windows, 2018-06-30) * 5383298 (DeveloperGuide: update "Setting up" section, 2018-09-08), which is only applicable with JDK 9 and above since it deals with the Java module system. So let's revert them, with the following exceptions: * We keep the TestFX version at our current version (4.0.12-alpha), since it supports JDK 8. * We use openjfx-monocle version 8u76-b04 since that is the latest version of openjfx-monocle that supports JDK 8. * We do not revert the changes 889a105 made to gradle.properties, since the changes were to remove flags that were already deprecated in JDK 8. * We keep the minimum Java version at `1.8.0_201` (the lowest version available on Oracle's JDK 8 download page[5]), since we have not tested the current code base with JDK 8 versions lower than that. * We make it clear in the User Guide / Developer Guide that we only support JDK 8 (not JDK 9, 10, 11 etc.) [1] https://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html [2] https://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html [3] See 544d89b (Warn developers against using JDK 10 on Windows, 2018-06-30) [4] "Starting with JDK 11, Oracle is making JavaFX easier to adopt by making the technology available as a separate download, decoupled from the JDK." -- https://blogs.oracle.com/java-platform-group/the-future-of-javafx-and-other-java-client-roadmap-updates [5] https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
- Loading branch information
Showing
6 changed files
with
19 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters