8 Next Steps

After you have your application working on JDK 20, here are some suggestions that can help you get the most from the Java SE Platform:

  • Cross-compile to an older release of the platform using the new -–release flag in the javac tool, if required.

  • Take advantage of your IDE’s suggestions for updating your code with the latest features.

  • Find out if your code is using deprecated APIs by running the static analysis tool jdeprscan. As already mentioned in this guide, APIs can be removed from the JDK, but only with advance notice.

  • Get familiar with new features like multi-release JAR files (see jar).

  • If you are a macOS user, then enable the new rendering pipeline (introduced in JDK 17), which uses the Apple Metal API. See JEP 382: New macOS Rendering Pipeline. This option is not enabled by default.