Hello Hardip, If you are using Beam 2.46.0, it should be using OpenJDK already (not Oracle's JRE as before).
No need for the sources, you can check the images directly from your terminal, if you have Docker installed: $ docker run -it --entrypoint '/bin/bash' gcr.io/cloud-dataflow/v1beta3/beam-java-streaming:2.46.0 # java -version openjdk version "1.8.0_322" OpenJDK Runtime Environment (build 1.8.0_322-b06) OpenJDK 64-Bit Server VM (build 25.322-b06, mixed mode) Best, Bruno On Mon, Apr 17, 2023 at 1:29 PM hardip singh <hardip.ba...@gmail.com> wrote: > Hi, > > I was hoping some one could shed some light and potentially a solution to > a problem I face with usage of the v1 runner. > > Due to Oracle Java SE licensing changes of older Java versions, I am > looking to move to the eclipse (Temurin) OpenJdk runtime, which I can see > has been updated in the container used by the V2 runner of version 2.46.0 ( > https://github.com/apache/beam/blob/master/sdks/java/container/Dockerfile#L19). > My code is running on Java 8. > > My code is currently running on the V1 runner which looks to be using the > Oracle OpenJDK runtime. > > Upgrading the pipelines tom the V2 runners causes significant degradation > of performance, which I am not in a position to work through straight away. > > So is it possible to use the v1 runner with a none Oracle provided JVM?? > > I cannot seem to find the source of the docker container for > beam-java-batch/streaming (I was looking to see if I update that to the > same java runtime as the V2 runner). > > Any guidance would be gratefully recieved. > > Thanks > > Hardip >