I don't know why I'm quoting that line again when Sriram already did :).
Too impulsive at the keyboard before reading the whole message, lol. ignore
me.

On Wed, Jun 2, 2021 at 1:18 AM Marques Lee <[email protected]>
wrote:

> Ah yes, it looks like the minimum version has already been updated as of
> git commit d72a92d53b1406fce1a0c96558b904493bf657ab. My knowledge was
> outdated:
>
>
> https://github.com/gocd/gocd/blob/56886178e9a4f65f8e7986c4622483d0118d4f73/build.gradle#L162-L163
>
> You should use at least JDK 13 for both server and agent, but preferably
> JDK 15 if you are able to as that is the version we test the most (and
> dogfood).
>
> -Marques
>
> On Tue, Jun 1, 2021 at 10:44 PM Sriram Narayanan <[email protected]>
> wrote:
>
>>
>>
>> On Wed, Jun 2, 2021 at 1:27 PM Prakash K <[email protected]> wrote:
>>
>>> 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.
>>>
>>
>> Class version 57 requires JRE 13. See:
>> https://en.wikipedia.org/wiki/Java_class_file
>>
>> Please start the server and the agent with JRE/JDK 13.
>>
>> @Marques:
>> The target version is set to 13. See:
>> https://github.com/gocd/gocd/blob/master/build.gradle#L162
>> This is what is used for 21.2.0. See:
>> https://build.gocd.org/go/tab/build/detail/build-linux/5472/build-non-server/1/FastTests-runInstance-1
>>
>> -- Ram
>>
>>
>>
>>
>>
>>>
>>> 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
>>> <https://groups.google.com/d/msgid/go-cd/CAKD75xt8QFw_%2BL9_YcpBOuw3%3DYY0pNH3FyBKU7qqrFQqq%3DG1hg%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/CANiY96Z4O%3DBi3-e%2B-YLrvhQRPLxp-xXyZLO-v698S-in8_JjYw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/go-cd/CANiY96Z4O%3DBi3-e%2B-YLrvhQRPLxp-xXyZLO-v698S-in8_JjYw%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/CAPKX9jayH_XiZwfQDJ-KCPm71ucQ%3DFzj6aVOvyZ5GO-e%3DAKUFQ%40mail.gmail.com.

Reply via email to