Skip to content

Cloud Foundry Java Buildpack

MSailer edited this page Jan 15, 2019 · 10 revisions

Starting from version v4.9 of the Cloud Foundry (CF) Java Buildpack, SapMachine can be used as a standard Java Runtime Environment. In order to use the SapMachine JRE, set the following environment variable for your Cloud Foundry application:

cf set-env <app_name> JBP_CONFIG_COMPONENTS '{jres: ["JavaBuildpack::Jre::SapMachineJRE"]}'

cf restage <app_name>

For more detailed instructions pleases check out the CF documentation.