-
Bug
-
Resolution: Unresolved
-
Minor
-
None
"default" JDK is the one present in user PATH - let's say JDK6
if I want to use an alternative JDK5, I declare it on system configuration
But I still can't edit my project configuration to select JDK and it still run with JDK6
I need to declare a 2nd JDK so that the select box appears and I can configure my JDK5 build.
I suggest to deprecate support for "Default" JDK, as this is confusing and dependent on host system configuration.
To ensure backward compatibility, jenkins could detect at startup jobs that don't have a <JDK> element in config and automatically create a "System" JDK in global configuration based on System.getProperty('java.home').
- is duplicated by
-
JENKINS-38911 Incorrect JDK tool version used for builds after new tool added
-
- Resolved
-
- is related to
-
JENKINS-755 Default JDK meaning in project options is confusing.
-
- Resolved
-
-
JENKINS-12550 System default JDK wrongly used if JDK is created first
-
- Resolved
-
[JENKINS-10191] JDK selection is hidden even when a JDK is configured
Description |
Original:
"default" JDK is the one present in user PATH - let's say JDK6 if I want to use an alternative JDK5, I declare i on system configuration But I still can't edit my project configuration to select it I need to declare a 2nd JDK so that the select box appears and I can configure my JDK5 build. I suggest to deprecate support for "Default" JDK. To ensure backward compatibility, jenkins can detect at startup jobs that don't have a <JDK> element in config and automatically create a "System" JDK in global configuration based on 'java.home'. |
New:
"default" JDK is the one present in user PATH - let's say JDK6 if I want to use an alternative JDK5, I declare it on system configuration But I still can't edit my project configuration to select JDK and it still run with JDK6 I need to declare a 2nd JDK so that the select box appears and I can configure my JDK5 build. I suggest to deprecate support for "Default" JDK, as this is confusing and dependent on host system configuration. To ensure backward compatibility, jenkins could detect at startup jobs that don't have a <JDK> element in config and automatically create a "System" JDK in global configuration based on System.getProperty('java.home'). |
Link |
New:
This issue is related to |
Link |
New:
This issue is related to |
Attachment | New: config.no.jdk.xml [ 26415 ] | |
Attachment | New: config.with.jdk.xml [ 26416 ] |
Workflow | Original: JNJira [ 140379 ] | New: JNJira + In-Review [ 175262 ] |
Link |
New:
This issue is duplicated by |
Labels | New: java11 java11-compatibility |
Labels | Original: java11 java11-compatibility | New: java11 java11-compatibility triaged |
Labels | Original: java11 java11-compatibility triaged |
Priority | Original: Major [ 3 ] | New: Minor [ 4 ] |