• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Windows MSI installer for Jenkins
    • 2.342, 2.332.2

      (Split out from JENKINS-67894.) The Windows installer for Jenkins should recommend Java 11, especially if it detects Java 8 as the current JVM.

      If Java 11 is not detected, warn the user with a message or other warning that Java 11 is the preferred Java version.

          [JENKINS-68170] Recommend Java 11 in Windows installer

          Alex Earl added a comment -

          The installer already prefers Java 11 over Java 8. What other steps would you want taken?

          Alex Earl added a comment - The installer already prefers Java 11 over Java 8. What other steps would you want taken?

          Basil Crow added a comment -

          A better question for markewaite as he is the one who wrote this sentence? I just split it out from the other bug. I have never used the Windows installer and am generally unfamiliar with it.

          Basil Crow added a comment - A better question for markewaite as he is the one who wrote this sentence? I just split it out from the other bug. I have never used the Windows installer and am generally unfamiliar with it.

          Alex Earl added a comment -

          This is what would happen if the person selected a Java 8 (or 9, 10, or anything other than 11) directory in the installer once restricted to just 11

           

          Alex Earl added a comment - This is what would happen if the person selected a Java 8 (or 9, 10, or anything other than 11) directory in the installer once restricted to just 11  

          Basil Crow added a comment -

          This is what would happen if the person selected a Java 8 (or 9, 10, or anything other than 11) directory in the installer once restricted to just 11

          Ah nice. But isn't dropping support for Java 8 the topic of the other bug (JENKINS-67894)? I think Mark's point regarding this bug is that we ought to give users some sort of soft deprecation notice if they are still using Java 8, to the effect of "fine for now, but this will stop working later this year if you don't switch"

          Basil Crow added a comment - This is what would happen if the person selected a Java 8 (or 9, 10, or anything other than 11) directory in the installer once restricted to just 11 Ah nice. But isn't dropping support for Java 8 the topic of the other bug ( JENKINS-67894 )? I think Mark's point regarding this bug is that we ought to give users some sort of soft deprecation notice if they are still using Java 8, to the effect of "fine for now, but this will stop working later this year if you don't switch"

          Alex Earl added a comment -

          Hmmm, ok, now I understand the difference from the other one. I will see what I can do.

          Alex Earl added a comment - Hmmm, ok, now I understand the difference from the other one. I will see what I can do.

          Mark Waite added a comment -

          I think it would be good to alert the user of the Windows installer when a Java 11 implementation is not being used. That may help persuade them that they should be using Java 11 instead of Java 8. Is that feasible from inside the Windows installer?

          Mark Waite added a comment - I think it would be good to alert the user of the Windows installer when a Java 11 implementation is not being used. That may help persuade them that they should be using Java 11 instead of Java 8. Is that feasible from inside the Windows installer?

          Alex Earl added a comment -

          What about something like this when the user presses the "Next" button in the Java home selection dialog:

           

           

          Once you press OK, you can press Next and continue to the next part of the installer. It will only show up if a Java 8 home is selected.

          Alex Earl added a comment - What about something like this when the user presses the "Next" button in the Java home selection dialog:     Once you press OK, you can press Next and continue to the next part of the installer. It will only show up if a Java 8 home is selected.

          Mark Waite added a comment -

          I think that would be great.

          Mark Waite added a comment - I think that would be great.

          Alex Earl added a comment -

          Alex Earl added a comment - https://github.com/jenkinsci/packaging/pull/302

          Basil Crow added a comment -

          Released in 2.342.

          Basil Crow added a comment - Released in 2.342.

            slide_o_mix Alex Earl
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: