Docker Hub only has Java 7 on Raspberry pi openjdk debian

I’m looking to use a Balena base image for openjdk on raspberry pi but can only find tags for Java 7 on debian:

I can see later versions of the jdk in your github repos but the tags don’t seem to be available in Docker Hub. Any idea when jdk8 might be available?



Hi @svangasse,

Currently the OpenJDK 8 image are not available for that device (and other armv7hf devices as well), the version we use in the Dockerfile is uninstallable and we’re working on it. In the meantime, if you can, please use OpenJDK 7 or OpenJDK 10 (like balenalib/armv7hf-debian-openjdk:7-jdk-jessie-run or balenalib/armv7hf-debian-openjdk:10-jdk-sid-run)

Is this available for Jetson TX2?

@nghiant2710 Would you know if there was an update to this one? Are the OpenJDK 8 images now available for the Raspberry Pi or is the recommendation still to use balenalib/armv7hf-debian-openjdk:7-jdk-jessie-run or balenalib/armv7hf-debian-openjdk:10-jdk-sid-ru?

1 Like

@telbot you can copy the body of this dockerfile.template into your project dockerfile.template to add OpenJDK 8 to your container.

Hey @telbot, the OpenJDK 8 images are available now. You can use balenalib/raspberry-pi-openjdk:8-jdk for Raspberry Pi 1 or balenalib/raspberry-pi2-openjdk:8-jdk/balenalib/raspberrypi3-openjdk:8-jdk for Raspberry Pi 2/3.