Search code examples
java-8ibm-cloud

Can I use Java 8 on IBM's Bluemix Application Platform


I would like to use Java 8 features in Bluemix standalone java application, is this supported by default or do I need to alter some configuration?


Solution

  • You can ask for Java 8 with the default liberty buildpack by setting the following environment variable:

    $ cf set-env myapp JBP_CONFIG_IBMJDK "version: 1.8.+"
    

    See Customizing the JRE for additional details.