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

JDK9 with jigsaw file layer is not detected as valid JDK

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • Environment:
      - fedora 20. jdk8_25
      - build jigsaw jdk: build 1.9.0-ea-jigsaw-nightly-h1689-20141110-b38, mixed mode
    • Similar Issues:

      Description

      Hi,
      The new jigsaw jdk is not detected as valid jdk because tools.jar and dt.jar are removed from the lib path but are needed by jenkins for detection.

      file: hudson/model/JDK.java
      method: checkHomeDirectory

      Not sure how to make a nice validation for current and jigsaw jdk.

      As a workaround having void tools.jar and dt.jar allow jdk detection by jenkins.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Daniel Beck
            Path:
            core/src/main/java/hudson/model/JDK.java
            http://jenkins-ci.org/commit/jenkins/1186e7b4047a70162a1a3be399fc449ae3b0e1f5
            Log:
            [FIXED JENKINS-25601] Amend JAVA_HOME check to work with JDK 9

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/java/hudson/model/JDK.java http://jenkins-ci.org/commit/jenkins/1186e7b4047a70162a1a3be399fc449ae3b0e1f5 Log: [FIXED JENKINS-25601] Amend JAVA_HOME check to work with JDK 9
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            core/src/main/java/hudson/model/JDK.java
            http://jenkins-ci.org/commit/jenkins/b33b921dc5d4dacdca7a9b73cfbe6f8a57f05307
            Log:
            JENKINS-25601 Noting merge of #1499.

            Compare: https://github.com/jenkinsci/jenkins/compare/75eeccf8668e...b33b921dc5d4

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/model/JDK.java http://jenkins-ci.org/commit/jenkins/b33b921dc5d4dacdca7a9b73cfbe6f8a57f05307 Log: JENKINS-25601 Noting merge of #1499. Compare: https://github.com/jenkinsci/jenkins/compare/75eeccf8668e...b33b921dc5d4
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #3923
            [FIXED JENKINS-25601] Amend JAVA_HOME check to work with JDK 9 (Revision 1186e7b4047a70162a1a3be399fc449ae3b0e1f5)

            Result = SUCCESS
            daniel-beck : 1186e7b4047a70162a1a3be399fc449ae3b0e1f5
            Files :

            • core/src/main/java/hudson/model/JDK.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #3923 [FIXED JENKINS-25601] Amend JAVA_HOME check to work with JDK 9 (Revision 1186e7b4047a70162a1a3be399fc449ae3b0e1f5) Result = SUCCESS daniel-beck : 1186e7b4047a70162a1a3be399fc449ae3b0e1f5 Files : core/src/main/java/hudson/model/JDK.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Daniel Beck
            Path:
            core/src/main/java/hudson/model/JDK.java
            http://jenkins-ci.org/commit/jenkins/bf6859f059bc809a8b1bae6ef184af56a37f79e0
            Log:
            [FIXED JENKINS-25601] Amend JAVA_HOME check to work with JDK 9

            (cherry picked from commit 1186e7b4047a70162a1a3be399fc449ae3b0e1f5)

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/java/hudson/model/JDK.java http://jenkins-ci.org/commit/jenkins/bf6859f059bc809a8b1bae6ef184af56a37f79e0 Log: [FIXED JENKINS-25601] Amend JAVA_HOME check to work with JDK 9 (cherry picked from commit 1186e7b4047a70162a1a3be399fc449ae3b0e1f5)
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #4292
            [FIXED JENKINS-25601] Amend JAVA_HOME check to work with JDK 9 (Revision bf6859f059bc809a8b1bae6ef184af56a37f79e0)

            Result = UNSTABLE
            ogondza : bf6859f059bc809a8b1bae6ef184af56a37f79e0
            Files :

            • core/src/main/java/hudson/model/JDK.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #4292 [FIXED JENKINS-25601] Amend JAVA_HOME check to work with JDK 9 (Revision bf6859f059bc809a8b1bae6ef184af56a37f79e0) Result = UNSTABLE ogondza : bf6859f059bc809a8b1bae6ef184af56a37f79e0 Files : core/src/main/java/hudson/model/JDK.java

              People

              • Assignee:
                danielbeck Daniel Beck
                Reporter:
                skygo Eric Barboni
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: