Home icon

AWS Lambda now supports Java 25

Compute Blog



This article announces AWS Lambda support for Java 25, now generally available as a managed runtime and container base image.

  • Java 25 includes primitive types in patterns, module import declarations, flexible constructor bodies
  • Generational Shenandoah garbage collector improves throughput and memory utilization
  • AOT caches replace Class Data Sharing for faster cold starts by default
  • Tiered compilation no longer stops at C1 for SnapStart and Provisioned Concurrency
  • Log4Shell emergency patch removed; requires Log4j 2.17.0 or later
  • Deploy via AWS Console, SAM, CDK, container images, or infrastructure as code tools
  • Performance improvements optimized for Lambda workloads and cold start times

Java 25 Lambda runtime delivers new language features and performance enhancements for building efficient serverless applications.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Nov 14
2025
AWS Lambda adds support for Java 25
Nov 25
2025
AWS Lambda adds support for Node.js 24
Feb 26
2026
AWS Lambda Durable Execution SDK for Java now available in Developer Preview
Jul 18
2024
AWS Lambda now supports SnapStart for Java functions that use the ARM64 architecture

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.