Java Buildpack v4.72.0 and later is a commercial version of the open source Java buildpack described in the java-buildpack repository in the Cloud Foundry github org. See that page for how to install and use the open-source Java buildpack.
This commercial version has the additional features described in the Release Notes below.
Name | Supported Languages, Frameworks, and Technologies | Commercial Versions |
---|---|---|
Java Buildpack | Java & Spring based applications | 4.73,0, 4.72.0 |
This release contains dependency bumps including:
This release also restores Tomcat 10.1.x which was incorrectly removed in 4.72.0.
Dependency | Version | CVEs | Release Notes |
---|---|---|---|
AppDynamics Agent | 24.7.0_36185 |
Release Notes | |
Azure Application Insights Agent | 3.5.4 |
Release Notes | |
CA Introscope APM Framework | 24.9.1_19 |
||
Client Certificate Mapper | 2.0.1 |
Included inline above | Included inline above |
Container Security Provider | 1.20.0_RELEASE |
Included inline above | Included inline above |
Contrast Security Agent | 6.9.0 |
Release Notes | |
Datadog APM Javaagent | 1.39.0 |
Release Notes | |
Elastic APM Agent | 1.51.0 |
Release Notes | |
Gemalto Luna Security Provider | 7.4.0 |
Release Notes | |
Geode Tomcat Session Store | 2.0.3 |
||
Google Stackdriver Profiler | 0.1.0 |
Release Notes | |
Groovy | 2.5.23 |
Release Notes | |
JaCoCo Agent | 0.8.12 |
Release Notes | |
Java CFEnv | 3.2.0 |
Release Notes | |
Java Memory Assistant Agent | 0.5.0 |
||
Java Memory Assistant Clean Up | 0.1.0 |
||
JProfiler Profiler | 13.0.7 |
ChangeLog | |
JRebel Agent | 2024.3.2 |
ChangeLog | |
jvmkill Agent | 1.17.0_RELEASE |
Included inline above | Included inline above |
MariaDB JDBC Driver | 2.7.9 |
Release Notes | |
Memory Calculator | 3.13.0_RELEASE |
Included inline above | Included inline above |
Metric Writer | 3.5.0_RELEASE |
Included inline above | Included inline above |
New Relic Agent | 8.14.0 |
Release Notes | |
Open Telemetry Agent | 2.8.0 |
Release Notes | |
OpenJDK JRE 11 | 11.0.24_9 |
Risk Matrix | Release Notes |
OpenJDK JRE 17 | 17.0.12_10 |
Risk Matrix | Release Notes |
OpenJDK JRE 21 | 21.0.4_9 |
Risk Matrix | Release Notes |
OpenJDK JRE 8 | 1.8.0_422 |
Risk Matrix | Release Notes |
PostgreSQL JDBC Driver | 42.7.4 |
ChangeLog | |
Redis Session Store | 1.3.6_RELEASE |
Included inline above | Included inline above |
Riverbed Appinternals Agent | 11.8.5_BL527 |
||
SeaLights Agent | 4.0.2549 |
||
SkyWalking | 9.3.0 |
ChangeLog | |
Splunk OpenTelemetry Java Agent | 2.7.0 |
Release Notes | |
Spring Auto-reconfiguration | 2.12.0_RELEASE |
Included inline above | Included inline above |
Spring Boot CLI | 2.7.18 |
||
Spring Boot Container Customizer | 2.6.0_RELEASE |
Included inline above | Included inline above |
Takipi Agent | 4.73.3 |
Release Notes | |
Tomcat 10.1 | 10.1.30 |
Security | ChangeLog |
Tomcat 9 | 9.0.95 |
Security | ChangeLog |
Tomcat Access Logging Support | 3.4.0_RELEASE |
Included inline above | Included inline above |
Tomcat Lifecycle Support | 3.4.0_RELEASE |
Included inline above | Included inline above |
Tomcat Logging Support | 3.4.0_RELEASE |
Included inline above | Included inline above |
YourKit Profiler | 2024.3.161 |
Release Notes |
The Java Buildpack v4.72.0 adds a Spring Boot Efficiency feature and some dependency updates to the Cloud Foundry Java Buildpack.
Spring Boot Efficiency
Spring Boot Efficiency is a new Java Buildpack ‘container’ which runs your application in a ‘training-run’ mode during staging, to create a cache of classes that allow a faster startup time at runtime. The feature is supported for Spring Boot 3.3.0+ applications, and takes advantage of the JVM feature ‘Class Data Sharing’ (CDS) and the Spring framework support.
To enable this feature, set the following environment variable:
cf set-env <app> JBP_CONFIG_SPRING_BOOT_EFFICIENCY '{ cds_enabled: true }'
If your app has been built with Ahead-of-Time (AOT) processing, you can additionally enable the AOT flag in the same variable for a further improvement in startup time:
cf set-env <app> JBP_CONFIG_SPRING_BOOT_EFFICIENCY '{ aot_enabled: true, cds_enabled: true }'
The feature works as follows:
cf set-env <app> JBP_CONFIG_SPRING_BOOT_EFFICIENCY '{ cds_enabled: true }'
cf set-env <app> JBP_CONFIG_SPRING_BOOT_EFFICIENCY '{ aot_enabled: true, cds_enabled: true }'
cf set-env <app> JBP_CONFIG_SPRING_BOOT_EFFICIENCY '{ cds_training_opts: "<args>", cds_enabled: true }'
NoteSince Spring Boot 3.0+ applications require Java 17, you must enable at least this JRE version when pushing your app.
Dependency Updates
Dependency | Version | CVEs | Release Notes |
---|---|---|---|
AppDynamics Agent | 24.7.0_36185 |
Release Notes | |
Azure Application Insights Agent | 3.5.4 |
Release Notes | |
CA Introscope APM Framework | 24.4.2_8 |
||
Client Certificate Mapper | 2.0.1 |
Included inline above | Included inline above |
Container Security Provider | 1.20.0_RELEASE |
Included inline above | Included inline above |
Contrast Security Agent | 6.6.0 |
Release Notes | |
Datadog APM Javaagent | 1.38.0 |
Release Notes | |
Elastic APM Agent | 1.51.0 |
Release Notes | |
Gemalto Luna Security Provider | 7.4.0 |
Release Notes | |
Geode Tomcat Session Store | 1.14.9 |
||
Google Stackdriver Profiler | 0.1.0 |
Release Notes | |
Groovy | 2.5.23 |
Release Notes | |
JaCoCo Agent | 0.8.12 |
Release Notes | |
Java CFEnv | 3.1.5 |
Release Notes | |
Java Memory Assistant Agent | 0.5.0 |
||
Java Memory Assistant Clean Up | 0.1.0 |
||
JProfiler Profiler | 13.0.7 |
ChangeLog | |
JRebel Agent | 2024.3.1 |
ChangeLog | |
jvmkill Agent | 1.17.0_RELEASE |
Included inline above | Included inline above |
MariaDB JDBC Driver | 2.7.9 |
Release Notes | |
Memory Calculator | 3.13.0_RELEASE |
Included inline above | Included inline above |
Metric Writer | 3.5.0_RELEASE |
Included inline above | Included inline above |
New Relic Agent | 8.13.0 |
Release Notes | |
Open Telemetry Agent | 2.6.0 |
Release Notes | |
OpenJDK JRE 11 | 11.0.24_9 |
Risk Matrix | Release Notes |
OpenJDK JRE 17 | 17.0.12_10 |
Risk Matrix | Release Notes |
OpenJDK JRE 21 | 21.0.4_9 |
Risk Matrix | Release Notes |
OpenJDK JRE 8 | 1.8.0_422 |
Risk Matrix | Release Notes |
PostgreSQL JDBC Driver | 42.7.3 |
ChangeLog | |
Redis Session Store | 1.3.6_RELEASE |
Included inline above | Included inline above |
Riverbed Appinternals Agent | 11.8.5_BL527 |
||
SeaLights Agent | 4.0.2539 |
||
SkyWalking | 9.3.0 |
ChangeLog | |
Splunk OpenTelemetry Java Agent | 2.6.0 |
Release Notes | |
Spring Auto-reconfiguration | 2.12.0_RELEASE |
Included inline above | Included inline above |
Spring Boot CLI | 2.7.18 |
||
Spring Boot Container Customizer | 2.6.0_RELEASE |
Included inline above | Included inline above |
Takipi Agent | 4.73.3 |
Release Notes | |
Tomcat | 9.0.93 |
Security | ChangeLog |
Tomcat Access Logging Support | 3.4.0_RELEASE |
Included inline above | Included inline above |
Tomcat Lifecycle Support | 3.4.0_RELEASE |
Included inline above | Included inline above |
Tomcat Logging Support | 3.4.0_RELEASE |
Included inline above | Included inline above |
YourKit Profiler | 2024.3.157 |
Release Notes |
Java Buildpack release notes for v4.71.0 and earlier are in the java-buildpack repository in the Cloud Foundry github org.