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

JDK installation influences already installed java instances, reinstall of Java had to be done to get back up and running

    Details

    • Similar Issues:

      Description

      We have migrated from Hudson to Jenkins. We decided to create a new buildmaster, since we also faced some issue with the old master.
      On the new master we defined only 1 JDK.
      All builds try to install the new JDK (1.6.23) and on a number of systems (windows) this gave an issue.

      The JDK gets installed in ../tools/1.6.23, but the public JRE get installed in C:\Program Files\Java\jre6
      That influences already installed Java installation(s).
      On a number of machine we had to remove all Java installation and do a manual installation again to get it back up and running.

      For windows the public JRE has to be skipped I think.
      That can be done with the following command: ADDLOCAL="ToolsFeature,DemosFeature,SourceFeature"
      Or the install directory of the public JRE has to be defined as well: /INSTALLDIRPUBJRE=...
      That is not done right now.

      More info: http://www.oracle.com/technetwork/java/javase/install-windows-189425.html

      This issue is very frustrating and causing a lot of issue and loss of time.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Gili Tzabari
            Path:
            core/src/main/java/hudson/tools/JDKInstaller.java
            http://jenkins-ci.org/commit/jenkins/4f6e649294e27feb3afc870d0ca959e771ff9778
            Log:
            JENKINS-8957 JDK installation influences already installed java instances

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gili Tzabari Path: core/src/main/java/hudson/tools/JDKInstaller.java http://jenkins-ci.org/commit/jenkins/4f6e649294e27feb3afc870d0ca959e771ff9778 Log: JENKINS-8957 JDK installation influences already installed java instances
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            core/src/main/java/hudson/tools/JDKInstaller.java
            http://jenkins-ci.org/commit/jenkins/9ec37cc08aeba58c589d27c320f2e60a2f5eaec5
            Log:
            Merge branch 'JENKINS-8957' of https://github.com/cowwoc/jenkins into cowwoc-JENKINS-8957

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/hudson/tools/JDKInstaller.java http://jenkins-ci.org/commit/jenkins/9ec37cc08aeba58c589d27c320f2e60a2f5eaec5 Log: Merge branch ' JENKINS-8957 ' of https://github.com/cowwoc/jenkins into cowwoc- JENKINS-8957
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            http://jenkins-ci.org/commit/jenkins/6c886e7b028bbbe35470ada7201be88fbc78afc4
            Log:
            [FIXED JENKINS-19447] [FIXED JENKINS-8957] Noting changes in pull #946.

            Compare: https://github.com/jenkinsci/jenkins/compare/ea85489a0a8e...6c886e7b028b

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html http://jenkins-ci.org/commit/jenkins/6c886e7b028bbbe35470ada7201be88fbc78afc4 Log: [FIXED JENKINS-19447] [FIXED JENKINS-8957] Noting changes in pull #946. Compare: https://github.com/jenkinsci/jenkins/compare/ea85489a0a8e...6c886e7b028b
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2914
            JENKINS-8957 JDK installation influences already installed java instances (Revision 4f6e649294e27feb3afc870d0ca959e771ff9778)
            [FIXED JENKINS-19447] [FIXED JENKINS-8957] Noting changes in pull #946. (Revision 6c886e7b028bbbe35470ada7201be88fbc78afc4)

            Result = SUCCESS
            cowwoc : 4f6e649294e27feb3afc870d0ca959e771ff9778
            Files :

            • core/src/main/java/hudson/tools/JDKInstaller.java

            Jesse Glick : 6c886e7b028bbbe35470ada7201be88fbc78afc4
            Files :

            • changelog.html
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2914 JENKINS-8957 JDK installation influences already installed java instances (Revision 4f6e649294e27feb3afc870d0ca959e771ff9778) [FIXED JENKINS-19447] [FIXED JENKINS-8957] Noting changes in pull #946. (Revision 6c886e7b028bbbe35470ada7201be88fbc78afc4) Result = SUCCESS cowwoc : 4f6e649294e27feb3afc870d0ca959e771ff9778 Files : core/src/main/java/hudson/tools/JDKInstaller.java Jesse Glick : 6c886e7b028bbbe35470ada7201be88fbc78afc4 Files : changelog.html
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Gili Tzabari
            Path:
            core/src/main/java/hudson/tools/JDKInstaller.java
            http://jenkins-ci.org/commit/jenkins/bcb098bee2d88a3364dcb624e25df1fdbcbbc139
            Log:
            JENKINS-8957 JDK installation influences already installed java instances

            (cherry picked from commit 4f6e649294e27feb3afc870d0ca959e771ff9778)

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gili Tzabari Path: core/src/main/java/hudson/tools/JDKInstaller.java http://jenkins-ci.org/commit/jenkins/bcb098bee2d88a3364dcb624e25df1fdbcbbc139 Log: JENKINS-8957 JDK installation influences already installed java instances (cherry picked from commit 4f6e649294e27feb3afc870d0ca959e771ff9778)

              People

              • Assignee:
                Unassigned
                Reporter:
                cbos Cees Bos
              • Votes:
                3 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: