Accessing the java executable from a cloudfoundry task command (cf run-task)
问题 I need the java executable to run a java -jar from a cloudfoundry task command. Here is how I try to run the task: cf run-task bignibou-batch "java -jar bignibou-batch/build/libs/bignibou-batch.jar" Here is the error message I get: 2016-12-24T12:53:30.002+01:00 [APP/TASK/358e02df/0] [ERR] bash: java: command not found My manifest uses the java buildpack as follows (see bignibou-batch app at the bottom): --- buildpack: https://github.com/cloudfoundry/java-buildpack.git memory: 1024M env: