Hello Prakash, I would say you should absolutely upgrade your server JDK. The fact that it even starts up is pure luck. We are currently compiling to a JDK 11 target which will likely change to a higher minimum JDK by the next release as we officially support “latest minus 2,” with the latest version being 16 as of now.
In other words, if it is working on JDK8, that is by accident. Currently, I would at least upgrade to JDK 11, if not JDK 15, which is the most tested. On Tue, Jun 1, 2021 at 9:42 PM Prakash K <[email protected]> wrote: > Hello All, > > Hope all is well. > > We are still in the upgrade process. We have successfully both the server > and agent to the latest version *21.2.0* and they are working with the > below-mentioned JDK. > > Go Server JDK: 1.8.0_191 > Go Agent JDK: JDK-13.0.2 (Oracle JAVA) > > It all works with the above-mentioned JAVA versions. But we want to avoid > using Oracle java and use open JDK. So I have installed openjdk-11.0.11.09 > and configured agent to use this version. But getting the below error with > this version. Does this mean I need to use same openjdk 11.0.11.09 for the > server as well, pls suggest. Thanks, > > Agentbootstrapper has been compiled by a more recent version of the java > runtime (class file version 57), this version of the java runtime only > recognizes class file version upto 55.0 > > -- > 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/b61eebad-07fd-4f25-89e8-ce20eb242567n%40googlegroups.com > <https://groups.google.com/d/msgid/go-cd/b61eebad-07fd-4f25-89e8-ce20eb242567n%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/CAPKX9jYAPnbJtf_Z5KUDO4dKw8YzPvSn20x_JX%3D3HakpGc0%3DEg%40mail.gmail.com.
