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

Upgrade minimum require Java version from 7 to 8

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • None

      Changing minimal JDK requirement has huge impact for most users as both jenkins master and slave need to be upgraded. As JDK 7 will be EOL soon, it seems a better choice to me to directly move to Java 8

      • users to discover this compatibility break will only have to upgrade one
      • impact on jenkins development is far more exciting.

      also see JENKINS-27623

          [JENKINS-27624] Upgrade minimum require Java version from 7 to 8

          Jesse Glick added a comment -

          I have to question whether opening a JIRA issue for a change of this magnitude is really useful.

          Jesse Glick added a comment - I have to question whether opening a JIRA issue for a change of this magnitude is really useful.

          Jesse Glick added a comment -

          Why is this no longer a 2.0 proposal kohsuke?

          Jesse Glick added a comment - Why is this no longer a 2.0 proposal kohsuke ?

          R. Tyler Croy added a comment -

          I did some non-scientific research posted here on the Jenkins user base. A rough approximation still indicates a majority of hosts are running JRE7.

          Currently, when I install the default Java on Ubuntu LTS (14.04), CentOS or RHEL machine I will get JRE7. Until some time after this changes, I do not think moving the baseline to JRE8 makes sense, especially considering the poor user experience when running JRE8 targeted binaries on JRE7 (that stupid minimum bytecode version exception or something)

          R. Tyler Croy added a comment - I did some non-scientific research posted here on the Jenkins user base. A rough approximation still indicates a majority of hosts are running JRE7. Currently, when I install the default Java on Ubuntu LTS (14.04), CentOS or RHEL machine I will get JRE7. Until some time after this changes, I do not think moving the baseline to JRE8 makes sense, especially considering the poor user experience when running JRE8 targeted binaries on JRE7 (that stupid minimum bytecode version exception or something)

          Jesse Glick added a comment -

          Again under discussion on dev list.

          Jesse Glick added a comment - Again under discussion on dev list.

          Oleg Nenashev added a comment -

          Assigned to batmat, who is de-facto driving this activity now

          Oleg Nenashev added a comment - Assigned to batmat , who is de-facto driving this activity now

          I have this PR in flight. I hope to be able to get back to it at the end of this week. But any feedback/hint there about how to solve the issue with infradna/bridge-method-injector to work with JDK8 is welcome in the meantime before I dig into it.

          Baptiste Mathus added a comment - I have this PR in flight. I hope to be able to get back to it at the end of this week. But any feedback/hint there about how to solve the issue with infradna/bridge-method-injector to work with JDK8 is welcome in the meantime before I dig into it.

          Code changed in jenkins
          User: Baptiste Mathus
          Path:
          Jenkinsfile
          core/pom.xml
          core/src/build-script/Cobertura.groovy
          core/src/main/java/hudson/model/Computer.java
          core/src/main/java/hudson/model/User.java
          pom.xml
          test/pom.xml
          test/src/test/java/hudson/model/GetEnvironmentOutsideBuildTest.java
          test/src/test/java/jenkins/util/JenkinsJVMRealTest.java
          http://jenkins-ci.org/commit/jenkins/09cfe3bda60341edb07ade226e24196a3f875019
          Log:
          Merge pull request #2802 from batmat/JENKINS-42709

          JENKINS-27624JENKINS-42709 Bump Jenkins baseline to Java 8 minimum

          Compare: https://github.com/jenkinsci/jenkins/compare/df6528e23392...09cfe3bda603

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Baptiste Mathus Path: Jenkinsfile core/pom.xml core/src/build-script/Cobertura.groovy core/src/main/java/hudson/model/Computer.java core/src/main/java/hudson/model/User.java pom.xml test/pom.xml test/src/test/java/hudson/model/GetEnvironmentOutsideBuildTest.java test/src/test/java/jenkins/util/JenkinsJVMRealTest.java http://jenkins-ci.org/commit/jenkins/09cfe3bda60341edb07ade226e24196a3f875019 Log: Merge pull request #2802 from batmat/ JENKINS-42709 JENKINS-27624 JENKINS-42709 Bump Jenkins baseline to Java 8 minimum Compare: https://github.com/jenkinsci/jenkins/compare/df6528e23392...09cfe3bda603

          Fixed towards 2.54

          Baptiste Mathus added a comment - Fixed towards 2.54

          Daniel Beck added a comment -

          iulian Please stop rewriting issues and posting comments to unrelated issues. This is an issue tracker, not a support site. Please ask for help on the Jenkins users mailing list, IRC, Gitter, Stack Overflow, etc. instead.

          Daniel Beck added a comment - iulian Please stop rewriting issues and posting comments to unrelated issues. This is an issue tracker, not a support site. Please ask for help on the Jenkins users mailing list, IRC, Gitter, Stack Overflow, etc. instead.

            batmat Baptiste Mathus
            ndeloof Nicolas De Loof
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: