App Service Java 7 and earlier stacks are retired
End of life as of 2022-07-29. Replacement: App Service Java 8 or later. Source: Language Runtime Support Policy - Azure App Service.
Check a version:
evergreen check pkg:generic/azure-app-service/java
| Community support for Java 7 ended on 2022-07-29 and Azure App Service retired Java 7, so a JAVA | 7 or older app runs a runtime the platform no longer patches. App Service provides and supports OpenJDK builds for Java 8 and later. |
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | End of life |
| Severity | high |
| Ecosystem | serverless |
| Component | pkg:generic/azure-app-service/java |
| Affected versions | vers:semver/<8.0.0 |
| Date from the source | 2022-07-29 |
| Replacement | App Service Java 8 or later |
| Evidence last seen | 2026-11-03 |
| Reviewed | 2026-11-03 by arminazimi |
| Review due | 2027-02-01 (90 days after the last review) |
| Rule ID | serverless.azure-app-service.java-7-and-older |
Sources
- Language Runtime Support Policy - Azure App Service (accessed 2026-11-03)
- Temurin Support (accessed 2026-11-03)
Migration
Constraints
- App Service follows the community end-of-support date for each language stack and stops providing security patches and related support for that runtime version past the date.
- The platform controls the minor and patch version of a managed stack, so raising the stack version is the only way to get a patched runtime.
- The stack is declared in siteConfig.linuxFxVersion on Linux and siteConfig.windowsFxVersion on Windows; both are set with az webapp config set.
Steps
- Raise the App Service language stack. Set java to a supported stack version (see the replacement) with az webapp config set –linux-fx-version or –windows-fx-version, then redeploy the app.
- Align the stack declaration. Change the same stack in the deployment source too - the siteConfig resource in an Azure Resource Manager template, the azurerm_linux_web_app linux_fx_version or azurerm_windows_web_app windows_fx_version in Terraform, and the Bicep equivalent - so the next deployment does not reset java.
Verification
az webapp config show --resource-group <group> --name <app> --query linuxFxVersion: Confirm the app reports the new stack version.az webapp restart --resource-group <group> --name <app> && az webapp log tail --resource-group <group> --name <app>: Restart the app and watch the startup log for runtime errors on the new stack.
Detected by
The serverless detector. See Detectors and Compatibility.
Related
Same ecosystem
- AWS Lambda .NET 10 runtime reaches end of life on 2028-11-14
- AWS Lambda .NET 5 (container only) runtime is end-of-life
- AWS Lambda .NET 6 runtime is end-of-life
- AWS Lambda .NET 7 (container only) runtime is end-of-life
- AWS Lambda .NET 8 runtime reaches end of life on 2026-11-10
- AWS Lambda .NET 9 (container only) runtime reaches end of life on 2026-11-10
- AWS Lambda .NET Core 1.0 runtime is end-of-life
- AWS Lambda .NET Core 2.0 runtime is end-of-life
Data
This page is generated from registry/serverless.json, rule serverless.azure-app-service.java-7-and-older, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated