On 4/8/24 16:08, Michael Jumper wrote:
On 4/8/24 10:03 AM, Jason Keltz wrote:
It's great to see yet another new Guacamole release ... thanks Mike and Guacamole team!

I went to look at installing Guacamole 1.5.5, and I usually update my tomcat to the latest 9.0 series, and JDK to the latest OpenJDK8.

When I tried to install the newest version of tomcat, 9.0.87, I see an error: "Java version 17 or newer is required ".

I vaguely remember at some point there being an issue possibly with later JDK and Guacamole, so I wanted to check first what is the latest JDK I should be using with Guacamole?


I'm not sure why you're seeing such an error, but neither Guacamole nor Tomcat 9 require Java 17. Guacamole requires Java 8 or later. I believe the same is true for Tomcat 9:

https://tomcat.apache.org/whichversion.html

If you're seeing this when attempting to install/update Tomcat 9 (not within the Tomcat logs when Guacamole starts up), it may be that your distribution is enforcing its own requirements on top of the minimal Java that Tomcat 9 technically requires.

Hi Mike,

If I look in the build.xml file, I see the following:

  <!-- Java EE 8 platform requires Java 8+ -->
  <!-- Keep in sync with webapps/docs/tomcat-docs.xsl -->
  <property name="compile.release" value="8"/>
  <property name="min.java.version" value="8"/>
  <property name="build.java.version" value="17"/>

  <!-- Check Java Build Version -->
  <fail message="Java version ${build.java.version} or newer is required (${java.version} is installed)">
    <condition>
      <and>
        <not><javaversion atleast="${build.java.version}" /></not>
        <not><isset property="skip.build.java.version"/></not>
      </and>
    </condition>
  </fail>

This is what is generating the error because it is expecting build.java.version to be 17!

I'll just try to move to 17, but it's just interesting that this hasn't been an issue before.   Obviously not a guacamole issue, but something others might run into as well.

Jason.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to