Warning - This image is currently in hiatus, as the base Busybox image cannot run its package manager any more, so I cannot publish any updates. So please use jeanblanchard/java instead, which is based on Alpine Linux, and is almost as small.
Please note that I had to recreate this repository to allow publishing from a continuous integration build. This means that your previous stars, and the download count, have been reset.
8: Oracle Java 8 (Server JRE)
7: Oracle Java 7 (Server JRE)
jdk8: Oracle Java 8 (JDK)
jdk7: Oracle Java 7 (JDK)
docker run -it --rm jeanblanchard/busybox-java:8 java -version