Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-4037

Startup scripts should use set-pentaho-java instead of relying on java(w) on path.

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.0.0 GA
    • Fix Version/s: None
    • Component/s: Spoon / User Interface
    • Labels:
      None
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      Carte.bat and Spoon.bat and possibly others use the java on the path. Ideally it should use set-pentaho-java so that the same JRE is used for all Pentaho products.

        Issue Links

          Activity

          Hide
          jbleuel Jens Bleuel added a comment -

          set-pentaho-java was replaced by set-pentaho-env and the logic was changed since the report of this bug.

          Closing this as Cannot reproduce in 4.3 nor 4.4.
          We have a PENTAHO_JAVA variable that is set by call "%~dp0set-pentaho-env.bat". Please reopen when needed.

          Show
          jbleuel Jens Bleuel added a comment - set-pentaho-java was replaced by set-pentaho-env and the logic was changed since the report of this bug. Closing this as Cannot reproduce in 4.3 nor 4.4. We have a PENTAHO_JAVA variable that is set by call "%~dp0set-pentaho-env.bat". Please reopen when needed.
          Hide
          jbleuel Jens Bleuel added a comment -

          Back to triage: We need to retest with latest versions.

          Show
          jbleuel Jens Bleuel added a comment - Back to triage: We need to retest with latest versions.
          Hide
          mlowery Mat Lowery (Inactive) added a comment -

          Note that even though the installer-modified scripts all seem to use the embedded Java, the out-of-the-box scripts still use java(w) from the path. This is inconsistent with other Pentaho scripts.

          Show
          mlowery Mat Lowery (Inactive) added a comment - Note that even though the installer-modified scripts all seem to use the embedded Java, the out-of-the-box scripts still use java(w) from the path. This is inconsistent with other Pentaho scripts.
          Hide
          mlowery Mat Lowery (Inactive) added a comment -

          From David: "Can you confirm for the scripts that start the DIS as well?"

          Confirmed that DIS and PEC both use the embedded java.

          Show
          mlowery Mat Lowery (Inactive) added a comment - From David: "Can you confirm for the scripts that start the DIS as well?" Confirmed that DIS and PEC both use the embedded java.
          Hide
          mlowery Mat Lowery (Inactive) added a comment -

          From Will: "Does this case potentially impact the installer? How do we handle making sure Spoon uses the installed JDK?"

          I have confirmed that (for the Linux installer (may 30) at least) the carte and spoon bat and sh files are modified to point to the embedded JDK.

          Show
          mlowery Mat Lowery (Inactive) added a comment - From Will: "Does this case potentially impact the installer? How do we handle making sure Spoon uses the installed JDK?" I have confirmed that (for the Linux installer (may 30) at least) the carte and spoon bat and sh files are modified to point to the embedded JDK.

            People

            • Assignee:
              project admin Triage
              Reporter:
              mlowery Mat Lowery (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: