
Microsoft has announced that support for Java 8, Java 11, and Java 17 in Azure Functions will end on September 1, 2027. The retirement notice, published on November 25, 2026, says existing Java function apps will keep running after that date, but Microsoft will stop providing security updates and customer support for those Java versions in the managed Azure Functions service. Developers are being directed to move affected apps to Java 25 before the deadline.
The notice applies to Java workloads hosted by Azure Functions, Microsoft’s serverless platform for running code in response to events such as HTTP requests, timer schedules, queue messages, and database changes. Microsoft published the retirement through Azure Updates.
Key takeaways
Azure Functions support for Java 8, Java 11, and Java 17 ends on September 1, 2027.
Your function app will continue to run after the deadline, but the retired Java versions will no longer receive security updates or customer support.
Azure Functions currently lists Java 25 as generally available and supported until May 2029.
Java 21 remains supported until September 2028 and is the newest Java version available on the Linux Consumption plan.
You should inventory Java function apps now, test the upgrade in a nonproduction slot or environment, and plan the deployment before September 2027.
What is changing for Azure Functions Java apps?
The deadline is a support retirement, not an immediate shutdown. A Java 8, 11, or 17 function app can continue executing after September 1, 2027. But if a security issue, runtime problem, or platform compatibility issue affects those versions, Microsoft says the managed service will no longer provide security updates, improvements, or related customer support.
That distinction matters for beginners. “Still running” does not mean “still supported.” An app that appears healthy can still be exposed to known issues later, and a later Azure platform or dependency change can be harder to diagnose when its Java version is outside the support window.
Microsoft’s current Azure Functions runtime support table lists Java 8, Java 11, and Java 17 through September 2027. It lists Java 21 through September 2028 and Java 25 through May 2029.
Java version | Azure Functions support status | Supported until |
|---|---|---|
Java 8 | Generally available | September 2027 |
Java 11 | Generally available | September 2027 |
Java 17 | Generally available | September 2027 |
Java 21 | Generally available | September 2028 |
Java 25 | Generally available | May 2029 |
Why Microsoft recommends Java 25
The Azure retirement notice tells customers to upgrade to Java 25. Java 25 was released by Oracle on September 16, 2025, as a long-term support release. Oracle says it plans to provide Java 25 security and performance updates under its No-Fee Terms and Conditions through September 2028, with later updates planned under its OTN License through at least September 2033.
For Azure Functions, the service support timeline is the one that controls whether Microsoft supports the managed runtime. That is separate from the lifecycle of a Java distribution installed by your own team on a virtual machine, a Kubernetes cluster, or a container. Microsoft has called out that service deadlines and JDK distribution timelines are not interchangeable.
Java 21 is also a supported option. It has a shorter Azure Functions support window than Java 25, but it can be the practical choice for some apps, especially when a dependency or framework has not yet been validated against Java 25.
Linux Consumption plan users need to check hosting first
There is one important limitation. Microsoft says Java 21 is the last Java version supported on Azure Functions Linux Consumption plan apps. Newer Java versions, including Java 25, are not added to that plan.
If your Java function uses Linux Consumption and your goal is Java 25, changing only the JDK version will not be enough. You will need to assess a move to a hosting option that supports the newer runtime, such as Flex Consumption, Premium, or Dedicated hosting, then test the application in that target environment. The exact choice depends on the app’s triggers, scaling needs, networking, and cost requirements.
Do not confuse this with the Azure Functions runtime version. Most existing apps use Functions runtime 4.x. Microsoft warns developers not to change the FUNCTIONS_EXTENSION_VERSION setting without following the runtime migration guidance, because configuration and application code can also require changes.
How to start a Java upgrade
Start by finding every Azure Function app that uses Java 8, 11, or 17. Check the Azure portal, infrastructure-as-code files, deployment pipelines, and each project’s pom.xml. In Java Functions projects built with Maven, the Java version is represented by settings such as java.version and javaVersion. Microsoft says the version in the project should match the Java version used for local development and testing.
List your Java function apps, their hosting plans, Java versions, triggers, and production dependencies.
Choose Java 21 or Java 25 based on the Azure Functions support table, your hosting plan, and framework compatibility.
Update the project build configuration and use a matching local JDK.
Build and run unit, integration, and trigger tests locally before deploying.
Deploy to a test function app or deployment slot, then validate logs, bindings, environment settings, cold starts, and downstream services.
Schedule the production rollout with time to fix dependency and behavior changes before September 1, 2027.
Microsoft’s Java developer reference also notes that Java apps running on Linux Elastic Premium or Dedicated plans with a Debian Bullseye managed image should move to an Ubuntu Noble image to remain on a supported Linux distribution. That operating system task can be part of the same upgrade plan.
What is not known yet
The retirement announcement does not provide an automatic migration tool, pricing changes, or an estimate of how many Azure Functions customers are affected. It also does not say that Azure will automatically change an app from Java 8, 11, or 17 to Java 25. Teams should treat the work as an application upgrade they must plan, test, and deploy.
Microsoft has pointed developers to its Modernize CLI, available through GitHub Copilot modernization, as one option for assessing Java code and dependencies. That tool can help create an upgrade plan, but it does not remove the need to test function triggers, bindings, libraries, and deployment configuration in your own environment.
Based on reporting by azure.microsoft.com, Microsoft Learn, Microsoft for Java Developers and Oracle.

Join the conversation! Your thoughts help the community grow.