According to the blog in Beam website Java 11 is already supported since 2.27 https://beam.apache.org/blog/beam-2.27.0/ But in the Dockerfile of Beam they have Java 8 installed:
https://hub.docker.com/layers/apache/beam_flink1.13_job_server/2.31.0/images/sha256-e727deacac9b16b5a05066998a8d39e0c2860ced0484246f16566bf384d8b028?context=explore Flink 1.13 already support Java 11 https://github.com/apache/flink-docker/tree/master/1.13 Running mixed code resulting with exception: compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0