Hi Marques, I have changed set.JAVA_HOME in wrapper-config/wrapper-properties.conf to use openjdk-11.0.5.10-0 and restarted the service.
Agent is using jdk-11.0.11.0.9 and still facing the same previous error. Am I missing anything else? On Wed, Jun 2, 2021, 3:02 PM Prakash K <[email protected]> wrote: > Thanks Marques, let me try to upgrade server idk. Thanks. > > On Wed, Jun 2, 2021, 2:56 PM Marques Lee <[email protected]> > wrote: > >> 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 >> <https://groups.google.com/d/msgid/go-cd/CAPKX9jYAPnbJtf_Z5KUDO4dKw8YzPvSn20x_JX%3D3HakpGc0%3DEg%40mail.gmail.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/CAKD75xt8QFw_%2BL9_YcpBOuw3%3DYY0pNH3FyBKU7qqrFQqq%3DG1hg%40mail.gmail.com.
