Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43495

Debian packages depend on Java 7 even though Jenkins requires Java 8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: packaging
    • Labels:
      None
    • Similar Issues:

      Description

      Jenkins 2.54 started requiring Java 8 [1], but the 2.54 package in the Jenkins-provided Debian package repository [2] still depends on openjdk-7-jre-headless. This means that on distros that do not provide Java 8 the package will successfully update but fail to start.

      [1] https://jenkins.io/blog/2017/04/10/jenkins-has-upgraded-to-java-8/
      [2] https://pkg.jenkins.io/debian

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Jeroen Bogers As I have written above, you should create an INFRA ticket for it. This issue is not "just delete it", so it requires involvement of the INFRA team

            Show
            oleg_nenashev Oleg Nenashev added a comment - Jeroen Bogers As I have written above, you should create an INFRA ticket for it. This issue is not "just delete it", so it requires involvement of the INFRA team
            Hide
            jbogers Jeroen Bogers added a comment -

            Created INFRA-1167 to handle the removal.

            Show
            jbogers Jeroen Bogers added a comment - Created INFRA-1167 to handle the removal.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Thanks!

            Show
            oleg_nenashev Oleg Nenashev added a comment - Thanks!
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Sam Van Oort
            Path:
            deb/build/debian/control
            http://jenkins-ci.org/commit/packaging/887711072814b0033e490d7cda031ef64ba87c94
            Log:
            Revert "JENKINS-43495 - Updated Java dependency to Java 8"

            This reverts commit 70ac244a0f102365fdc60bba0eae429fc4be8eca.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Sam Van Oort Path: deb/build/debian/control http://jenkins-ci.org/commit/packaging/887711072814b0033e490d7cda031ef64ba87c94 Log: Revert " JENKINS-43495 - Updated Java dependency to Java 8" This reverts commit 70ac244a0f102365fdc60bba0eae429fc4be8eca.
            Hide
            lyda Kevin Lyda added a comment -

            Just in case Dave Miller is a former coworker dealing with a machine I installed, the solution is as follows on an Ubuntu 14.04 machine (all as root):

             

            add-apt-repository ppa:openjdk-r/ppa
            apt-get update
            apt-get install openjdk-8-jre openjdk-8-jre-headless openjdk-8-jdk
            apt-get remove --purge openjdk-7-jre openjdk-7-jre-headless openjdk-7-jdk
            apt-get dist-upgrade
            

            And that should update jenkins to the latest released version.

             

            Show
            lyda Kevin Lyda added a comment - Just in case Dave Miller is a former coworker dealing with a machine I installed, the solution is as follows on an Ubuntu 14.04 machine (all as root):   add-apt-repository ppa:openjdk-r/ppa apt-get update apt-get install openjdk-8-jre openjdk-8-jre-headless openjdk-8-jdk apt-get remove --purge openjdk-7-jre openjdk-7-jre-headless openjdk-7-jdk apt-get dist-upgrade And that should update jenkins to the latest released version.  

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                mkarlsson Marcus Karlsson
              • Votes:
                6 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: