Zookeeper (on bookworm) currently depends on default-jre which in turn depends on openjdk-17-jre. That leads to the fact that it's not possible to have Zookeeper running on a bookworm system with another jre than openjdk 17 (e.g. openjdk 21, temurin or similar) installed *only*. openjdk-17-jre always needs to be installed, leading to unnecessary packages on the system. A possible solution might be to have the zookeeper package depend on java-runtime instead (which is provided by default-jre as well).