I think I understand better now, thank you. The pom sets the "floor" not the "ceiling" version. I can still compile my code at any version between 8 and 21, depending on features required. Thank you for the help.
Sent with [Proton Mail](https://proton.me/mail/home) secure email. On Tuesday, June 17th, 2025 at 1:55 PM, Nick Couchman <[email protected]> wrote: > On Tue, Jun 17, 2025 at 13:48 viktor_krumm <[email protected]> > wrote: > >> I apologize if I am bringing up repeat questions. The Dockerfile for >> 1.6.0-RC2 lists Tomcat 9 and JRE21 as dependencies. But the pom.xml file at >> the root of the repository forces Java 8, NOT Java 21 (see lines 217-218). >> Is this an oversight, or is this to provide backwards capability? I needed >> to upgrade that in my own deployment to run newer Java code. Thanks. > > This is an incorrect interpretation of the pom.xml file - it is not forcing > any particular version of Java to be used, either at run or compile time. It > is setting the compatibility level of the code, so that compiled code will > run with any version of Java from 1.8 onward. This is not an oversight - it > is a design decision to make the Guacamole code as compatible as possible > across many versions of Java as possible. > > You can still run with your choice of Java version 1.8 (8) or later, and our > Docker images use Java 21. > > -Nick > >>
