Using Oracle's JDK

The sample Java configuration points to the OpenJDK:

https://circleci.com/docs/2.0/language-java/

How do I use Oracle’s? I tried using circleci/jdk-8 but I got this error:

Build-agent version 0.0.4001-dc04609 (2017-08-28T10:53:24+0000)
Starting container circleci/jdk8
image cache not found on this host, downloading circleci/jdk8
Error response from daemon: manifest for circleci/jdk8:latest not found

Despite this being there: https://hub.docker.com/r/circleci/jdk8/

What am I missing?

1 Like

I don’t think there is a latest tag for that docker image? I can only see 0.1.1: https://hub.docker.com/r/circleci/jdk8/tags/