You are right in that we support the last couple of releases of java, this means that LTS versions may not actually be supported.
The primary drive for this is the amount of testing required for each version of java that we supported, and some licensing issues around java 11 when oracle changed the licensing and support around it. At the time we made this decison, there was quite an uncertainty about openjdk and support for java in the long term. Since then, several distributions have come up and provide java 11 (redhat, aws, adoptopenjdk). For context: each version of java we support, requires to be tested on a couple of versions of linux and windows. Having the agent and server on different JRE versions increases this effort significantly with each new version of JRE that we decide to support. We've therefore also taken the decision to package a compatible JRE with GoCD installations. This means that GoCD users can continue to upgrade their gocd servers, and not have to worry about JRE versions and configuring GoCD to use the right JRE. This had the unfortunate side-effect that if you ended up using a very old agent bootstrapper, that eventually became a bottleneck. But the n-2 JRE version compatibility gives teams ample time to upgrade their GoCD agent (about 18 months with a 6 month release cadence), if I'm not wrong. There is obviously the zip distribution, for the "power users" who know what they're doing, and like to be on the bleeding edge. For the vast majority of users, we expect that they use the usual distributions (rpm/deb or docker images based on their favorite distribution). - Ketan On Wed, Jun 2, 2021 at 7:39 PM Jason Smyth <[email protected]> wrote: > Hi all, > > Based on what I read in this recent thread > <https://groups.google.com/g/go-cd/c/GeH97RQAcQg>, it seems GoCD only > supports Java v >= (latest-2), regardless of Long-Term Support status of > any releases. > > This would seem to indicate that even though Java 11 is the most recent > LTS version and the next LTS version will not be until Java 17, GoCD has > already dropped support for Java 11 because Java 14 (not LTS) and 15 (not > LTS) have already been released, so (latest-2) is now 13. > > This will effectively force all GoCD users to either go long periods of > time without updating GoCD (i.e. do not run any versions of GoCD that > support neither v11 nor v17) or switch to non-LTS versions of Java. Since > non-LTS versions of Java are only supported for 6 months until the next > version is released, this then forces all GoCD users to major Java version > updates every 6 months if they want to run only supported versions. > > Am I missing something here? Why does GoCD not support the latest LTS > version of Java? Why support Java 13 (support ended more than a year ago in > March 2020) but not 11 (supported until at least 2024)? Is it just too much > work to test such an "old" version? > > Sorry if this is not the right place to raise this but it didn't seem > appropriate to raise a GitHub Issue at this point. I would love to hear > other people's thoughts on this. > > Regards, > Jason Smyth > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/go-cd/f64f8a9e-587a-498b-9c90-3af4ae23dc46n%40googlegroups.com > <https://groups.google.com/d/msgid/go-cd/f64f8a9e-587a-498b-9c90-3af4ae23dc46n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAMUPJd6zJCPSYV4D8gt0XRVzLqJyZ7kZ0vvOBuyg3ZM-i-hgnQ%40mail.gmail.com.
