File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ applications:
178178 - my-custom-java-buildpack
179179 env:
180180 BP_JAVA_VERSION: 17
181- JBP_CONFIG_COMPONENTS : '{"jres": ["OracleJRE"] }'
181+ JBP_CONFIG_ORACLE_JRE : '{ jre: { version: 17.+ } }'
182182` ` `
183183
184184**Option B: Specify buildpack on command line**
@@ -191,7 +191,7 @@ cf push my-app -b my-custom-java-buildpack
191191cf set-env my-app BP_JAVA_VERSION 17
192192
193193# Select JRE vendor (if multiple JREs available)
194- cf set-env my-app JBP_CONFIG_COMPONENTS '{"jres": ["GraalVMJRE"] }'
194+ cf set-env my-app JBP_CONFIG_GRAAL_VM_JRE '{ jre: { version: 21.+ } }'
195195
196196# Restage to apply changes
197197cf restage my-app
@@ -235,7 +235,7 @@ dependencies:
235235# Push application with Oracle JRE 17
236236cf push my-app -b my-custom-java-buildpack
237237cf set-env my-app BP_JAVA_VERSION 17
238- cf set-env my-app JBP_CONFIG_COMPONENTS '{"jres": ["OracleJRE"] }'
238+ cf set-env my-app JBP_CONFIG_ORACLE_JRE '{ jre: { version: 17.+ } }'
239239cf restage my-app
240240` ` `
241241
You can’t perform that action at this time.
0 commit comments