Azure should use the latest Java version available


Newer versions of Java software are periodically released to address security flaws and introduce new functionalities. It is recommended to use the latest version for web apps to maximize security and leverage new features. Organizations should evaluate each update for compatibility and support with other software components.


To update your Azure Web App to use the latest version of Java:

  1. Access the Azure portal and navigate to your web app.
  2. In the left-hand menu, go to the Configuration section.
  3. Under the General settings tab, locate the Java version setting.
  4. Click on the dropdown and select the latest version of Java available.
  5. Save the changes and wait for the web app to restart with the updated Java version.
  6. Validate and test your web app to ensure it is running successfully with the latest version of Java.