JDK8 or JDK11 to be used for Jenkins ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

JDK8 or JDK11 to be used for Jenkins ?

mj1414...@gmail.com
Hello,
I'm trying to decide, whether I should use JDK8 or JDK11 to run Jenkins.
So far I have been using JDK8.

If I look at the documentation, I find:

"Installing Jenkins" https://www.jenkins.io/doc/book/installing/
points to
"Java Requirements" https://www.jenkins.io/doc/administration/requirements/java/
which says
  • "Java 8 runtime environments, both 32-bit and 64-bit versions are supported"

  • "Since Jenkins 2.164 and 2.164.1 [1], Java 11 runtime environments are supported

    • Running Jenkins with Java 11 is documented here

    • There are some precautions to take when upgrading from Java 8 to Java 11 in Jenkins, please follow these guidelines."

  • So this sounds like "both JDK8 and JDK11 are supported"
    But the "fine print" below JDK11 sounds different:
    https://www.jenkins.io/doc/administration/requirements/upgrade-java-guidelines/

    So what is the current recommendation:
    Use JDK8 ? JDK11 ?
    Give JDK11 a try and report issues ?
    Is an update planned to make JDK11 the preferred version ?

    Regards

    Martin

    --
    You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
    To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8b37283f-47d9-495b-9086-2b8bd003876an%40googlegroups.com.
    Reply | Threaded
    Open this post in threaded view
    |

    Re: JDK8 or JDK11 to be used for Jenkins ?

    Tej Singh Rana
    Is an update planned to make JDK11 the preferred version ?
    I don't think so. 
    Depends on your Jenkins version. It matters when you use similar and above Jenkins 2.164.

    Regards, 

    On Fri, Dec 11, 2020 at 3:30 PM [hidden email] <[hidden email]> wrote:
    Hello,
    I'm trying to decide, whether I should use JDK8 or JDK11 to run Jenkins.
    So far I have been using JDK8.

    If I look at the documentation, I find:
    points to
    "Java Requirements" https://www.jenkins.io/doc/administration/requirements/java/
    which says
    • "Java 8 runtime environments, both 32-bit and 64-bit versions are supported"

    • "Since Jenkins 2.164 and 2.164.1 [1], Java 11 runtime environments are supported

      • Running Jenkins with Java 11 is documented here

      • There are some precautions to take when upgrading from Java 8 to Java 11 in Jenkins, please follow these guidelines."

    So this sounds like "both JDK8 and JDK11 are supported"

    So what is the current recommendation:
    Use JDK8 ? JDK11 ?
    Give JDK11 a try and report issues ?
    Is an update planned to make JDK11 the preferred version ?

    Regards

    Martin

    --
    You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
    To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8b37283f-47d9-495b-9086-2b8bd003876an%40googlegroups.com.


    --
    ---------------------
    Tej Singh Rana

    --
    You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
    To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CADBoQTqcQT3uuVp1DLC%3D6j-osfMfJziT8zvDK9QSa-EKWceg6w%40mail.gmail.com.
    Reply | Threaded
    Open this post in threaded view
    |

    Re: JDK8 or JDK11 to be used for Jenkins ?

    Dirk Heinrichs-3
    In reply to this post by mj1414...@gmail.com
    Am Freitag, den 11.12.2020, 02:00 -0800 schrieb [hidden email]:

    I'm trying to decide, whether I should use JDK8 or JDK11 to run Jenkins.

    We run ours on 11.

    HTH...

    Dirk
    -- 
    Dirk Heinrichs
    Senior Systems Engineer, Delivery Pipeline
    OpenText ™ Discovery | Recommind
    Phone: +49 2226 15966 18
    Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
    Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
    This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden
    Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

    --
    You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
    To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1be39a0b9d46dac4884aed1d8058336f3ee57b68.camel%40opentext.com.

    signature.asc (235 bytes) Download Attachment
    Reply | Threaded
    Open this post in threaded view
    |

    Re: JDK8 or JDK11 to be used for Jenkins ?

    Mark Waite-2


    On Fri, Dec 11, 2020 at 5:01 AM 'Dirk Heinrichs' via Jenkins Users <[hidden email]> wrote:
    Am Freitag, den 11.12.2020, 02:00 -0800 schrieb [hidden email]:

    I'm trying to decide, whether I should use JDK8 or JDK11 to run Jenkins.

    We run ours on 11.


    We run ci.jenkins.io on Java 11.

     
    HTH...

    Dirk
    -- 
    Dirk Heinrichs
    Senior Systems Engineer, Delivery Pipeline
    OpenText ™ Discovery | Recommind
    Phone: +49 2226 15966 18
    Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
    Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
    This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden
    Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

    --
    You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
    To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1be39a0b9d46dac4884aed1d8058336f3ee57b68.camel%40opentext.com.

    --
    You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
    To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHiBDMfSoDQjV-tc4Ak_-Xeb0EPMWUKDVQyyXqDaDSYkA%40mail.gmail.com.
    Reply | Threaded
    Open this post in threaded view
    |

    Re: JDK8 or JDK11 to be used for Jenkins ?

    Richard Bywater-3
    In reply to this post by mj1414...@gmail.com
    Personally if you are starting from a new Jenkins version then I'd go JDK11 unless you hit some strange edge-case issue where you might need to roll it back to JDK8.

    Although JDK8 isn't going anywhere in the short term its probably best to keep with the newest LTS version of Java to not make the upgrade someone else's problem down the line 😀

    Richard.

    On Fri, 11 Dec 2020, 11:00 PM [hidden email], <[hidden email]> wrote:
    Hello,
    I'm trying to decide, whether I should use JDK8 or JDK11 to run Jenkins.
    So far I have been using JDK8.

    If I look at the documentation, I find:
    points to
    "Java Requirements" https://www.jenkins.io/doc/administration/requirements/java/
    which says
  • "Java 8 runtime environments, both 32-bit and 64-bit versions are supported"

  • "Since Jenkins 2.164 and 2.164.1 [1], Java 11 runtime environments are supported

    • Running Jenkins with Java 11 is documented here

    • There are some precautions to take when upgrading from Java 8 to Java 11 in Jenkins, please follow these guidelines."

  • So this sounds like "both JDK8 and JDK11 are supported"

    So what is the current recommendation:
    Use JDK8 ? JDK11 ?
    Give JDK11 a try and report issues ?
    Is an update planned to make JDK11 the preferred version ?

    Regards

    Martin

    --
    You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
    To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8b37283f-47d9-495b-9086-2b8bd003876an%40googlegroups.com.

    --
    You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
    To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAAy0hwc2d-FCOawn%3D1VGoWOa9mnUuyDczKPNj3tKRmyeTeLCJA%40mail.gmail.com.
    Reply | Threaded
    Open this post in threaded view
    |

    Re: JDK8 or JDK11 to be used for Jenkins ?

    Baptiste MATHUS
    Agreed with Richard. 

    Plus we literally have a thread on the dev list that's less than 10 days old, where we discussed bumping the minimum requirement to Java 11.

    IOW, I'd recommend defaulting to Java 11 unless you've got very compelling reasons to run Java 8.
    This way, when the requirement gets bumped, at some point (no date yet), this will be a no-event for you :-). (or will be facing a wall if you chose Java 8).

    Cheers

    Le ven. 11 déc. 2020 à 22:22, Richard Bywater <[hidden email]> a écrit :
    Personally if you are starting from a new Jenkins version then I'd go JDK11 unless you hit some strange edge-case issue where you might need to roll it back to JDK8.

    Although JDK8 isn't going anywhere in the short term its probably best to keep with the newest LTS version of Java to not make the upgrade someone else's problem down the line 😀

    Richard.

    On Fri, 11 Dec 2020, 11:00 PM [hidden email], <[hidden email]> wrote:
    Hello,
    I'm trying to decide, whether I should use JDK8 or JDK11 to run Jenkins.
    So far I have been using JDK8.

    If I look at the documentation, I find:
    points to
    "Java Requirements" https://www.jenkins.io/doc/administration/requirements/java/
    which says
    • "Java 8 runtime environments, both 32-bit and 64-bit versions are supported"

    • "Since Jenkins 2.164 and 2.164.1 [1], Java 11 runtime environments are supported

      • Running Jenkins with Java 11 is documented here

      • There are some precautions to take when upgrading from Java 8 to Java 11 in Jenkins, please follow these guidelines."

    So this sounds like "both JDK8 and JDK11 are supported"

    So what is the current recommendation:
    Use JDK8 ? JDK11 ?
    Give JDK11 a try and report issues ?
    Is an update planned to make JDK11 the preferred version ?

    Regards

    Martin

    --
    You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
    To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8b37283f-47d9-495b-9086-2b8bd003876an%40googlegroups.com.

    --
    You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
    To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAAy0hwc2d-FCOawn%3D1VGoWOa9mnUuyDczKPNj3tKRmyeTeLCJA%40mail.gmail.com.

    --
    You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
    To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4L-VRhJ2x6Guytmn_cKSKMkQ3EBub2fJV6536QCk-0vg%40mail.gmail.com.