Public | Automated Build

Last pushed: 3 days ago
Short Description
Latest early adopter Java 9 Zulu release
Full Description

What is Zulu? Zulu Duke in a Box

Zulu is a widely available binary distribution of OpenJDK. Zulu distributions are fully tested and compatibility verified builds of the latest versions of the OpenJDK 9, 8, 7, and 6 platforms. Zulu is available free of charge for Linux, Windows, and MacOS platforms, with commercial support available upon request.

Zulu is built, tested, supported and made available by Azul Systems.

http://www.azul.com/zulu

This is a stripped down docker image with the Zulu Open JDK 9 early preview using the Alpine Linux distribution so it is one of the smallest JDK9 Docker distributions in the world.

sudo docker pull cantara/alpine-zulu-jdk9
sudo docker run -it cantara/alpine-zulu-jdk9 java -version

And have some fun

sudo docker run -it cantara/alpine-zulu-jdk9 jshell  ### Start the new REPL jshell (Project Kulla)
Docker Pull Command
Owner
cantara
Source Repository

Comments (3)
anders121
a year ago

Hi, totto
This image is still broken.

docker run -it cantara/alpine-zulu-jdk9 java -version
docker: Error response from daemon: oci runtime error: exec: "java": executable file not found in $PATH.

ls ${JAVA_HOME}
ls: /usr/local/java: No such file or directory

ls /usr/local
bin lib share

ls /tmp/java/zulu9.0.0.8-ea-jdk9.0.0-linux_x64
ASSEMBLY_EXCEPTION THIRD_PARTY_README conf jmods man sample
DISCLAIMER Welcome.html demo jrt-fs.jar readme.txt src.zip
LICENSE bin include lib release

The JAVA_HOME folder is missing and the JDK is just unpacked into /tmp/java/zulu9.0.0.8-ea-jdk9.0.0-linux_x64

Adding copy after tar
tar -xzf zulu*.gz && \
cp -a zulu9.0.0.8-ea-jdk9.0.0-linux_x64 ${JAVA_HOME} && \

Building a new image and the running it

docker run -it <name> java -version
Error: dl failure on line 750
Error: failed /usr/local/java/lib/amd64/server/libjvm.so, because libstdc++.so.6: cannot open shared object file: No such file or directory

It's the same problem as regisxu had, and I don't have the skills to fix it.

Also notice that the /tmp folder is not empty and that the Dockerfile contains duplicated sections, see ENV JAVA_HOME /usr/local/java for instance.
I would love to see this image working properly!

totto
a year ago

Sorry, my mistake. It is fixed now, and updated to the latest ea as of source by mid september.

regisxu
a year ago

Follow instructions and got error:

$ docker run -it cantara/alpine-zulu-jdk9 java -version
Error: dl failure on line 750
Error: failed /usr/local/java/lib/amd64/server/libjvm.so, because libstdc++.so.6: cannot open shared object file: No such file or directory

looks like it's missing libstdc++.so.6