This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      Somewhere between builds 2.49 and 2.100 the JAVA_HOME environment variable is now using the system default instead of the path for a selected JDK.

      This seems similar to JENKINS-6763 or JENKINS-15288 but these seems a lot older and this is newly observed behaviour.

      From the environment variables pages:

      Date: 2018-01-04 14:11:03, Version: 2.49

      JAVA_HOME    /opt/IBM/iib/common/jdk

      Date: 2018-01-12 16:44:4, Version: 2.100

      JAVA_HOME    $WEBSPHERE_HOME/java

       


      As a work-around I have used the Env Inject plugin to explicitly set the JAVA_HOME environment variable for each job that needs a non-default JDK.

            Assignee:
            Unassigned
            Reporter:
            Marcus Collins
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: