diff --git a/for_build/basics/Dockerfile b/for_build/basics/Dockerfile
index dd9fda167e23a93f816a8749e0909e23cf155ccb..4c273239be93b68fe8f4795bb03a6296e5ce710a 100644
--- a/for_build/basics/Dockerfile
+++ b/for_build/basics/Dockerfile
@@ -12,7 +12,6 @@ RUN apt-get install -y \
         libdigest-md5-perl \
         git \
         python3-pip \
-        default-jre \
         bioperl
 
 # Update pip
diff --git a/for_build/prokka_only/Dockerfile b/for_build/prokka_only/Dockerfile
index 54a54a40616f16c2783458f8f83bf4194d37deab..cf563ea4b5c3c3b80df3a96d690b64ae6be7526c 100644
--- a/for_build/prokka_only/Dockerfile
+++ b/for_build/prokka_only/Dockerfile
@@ -19,7 +19,6 @@ RUN apt-get install -y\
         libxml-simple-perl \
         libdigest-md5-perl \
         git \
-        default-jre \
         bioperl
 RUN git clone https://github.com/tseemann/prokka.git
 RUN /tmp/prokka/bin/prokka --setupdb
diff --git a/for_tests/Dockerfile b/for_tests/Dockerfile
index 12fe2a655561599f9d94d8bf2e3b8e2f8c2376b6..658a09690a8607dfa7ab1be504ba871f2f90865b 100644
--- a/for_tests/Dockerfile
+++ b/for_tests/Dockerfile
@@ -28,7 +28,6 @@ RUN apt-get install -y\
         libxml-simple-perl \
         libdigest-md5-perl \
         git \
-        default-jre \
         bioperl
 RUN git clone https://github.com/tseemann/prokka.git
 RUN /tmp/prokka/bin/prokka --setupdb