8 Next Steps

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

  • Use the --release flag to compile for your preferred JDK version. See Compile Your Application if Needed for details.

  • 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.