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:
-
Epic Link:
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
- links to
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