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

          mlowery Mat Lowery (Inactive) created issue -
          mlowery Mat Lowery (Inactive) made changes -
          Field Original Value New Value
          Link This issue relates to PDI-3727 [ PDI-3727 ]
          mlowery Mat Lowery (Inactive) made changes -
          Link This issue is related to PDI-4010 [ PDI-4010 ]
          wgorman Will Gorman (Inactive) made changes -
          Link This issue relates to PDI-4033 [ PDI-4033 ]
          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.
          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 -

          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.
          kcruzada Kurtis Cruzada made changes -
          Status Open [ 1 ] Open [ 1 ]
          Severity Unknown [ 7 ] Severe [ 3 ]
          Assignee Triage [ project admin ] Will Gorman [ wgorman ]
          Fix Version/s 4.1.0 GA [ 10866 ]
          wgorman Will Gorman (Inactive) made changes -
          Link This issue is duplicated by PPP-2457 [ PPP-2457 ]
          wgorman Will Gorman (Inactive) made changes -
          Link This issue is duplicated by PPP-2457 [ PPP-2457 ]
          wgorman Will Gorman (Inactive) made changes -
          Link This issue is related to PPP-2457 [ PPP-2457 ]
          wgorman Will Gorman (Inactive) made changes -
          Assignee Will Gorman [ wgorman ] Unassigned User [ unassigned ]
          mbatchelor Marc Batchelor made changes -
          Workflow Pentaho Engineering 7.0 Workflow [ 511759 ] Pentaho Engineering 8.0 Workflow [ 525253 ]
          jtcornelius Jake Cornelius made changes -
          Fix Version/s 4.2.0 GA [ 11033 ]
          Fix Version/s 4.1.0 GA [ 10866 ]
          mbatchelor Marc Batchelor made changes -
          Workflow Pentaho Engineering 8.0 Workflow [ 525253 ] Pentaho Engineering 9.0 Workflow [ 569423 ]
          jbleuel Jens Bleuel made changes -
          Fix Version/s 4.4 / 5.0 Reservoir [ 11432 ]
          Fix Version/s 4.4.0 GA (5.0.0 GA Suite Release - Sugar) [ 11033 ]
          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.
          jbleuel Jens Bleuel made changes -
          Assignee Unassigned User [ unassigned ] Triage [ project admin ]
          Component/s Spoon / User Interface [ 10310 ]
          jcornelius Jared Cornelius made changes -
          Assignee Triage [ project admin ] Brandon Bruce [ bbruce ]
          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.
          jbleuel Jens Bleuel made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Brandon Bruce [ bbruce ] Triage [ project admin ]
          Fix Version/s 5.0 / 6.0 Reservoir [ 11432 ]
          Resolution Cannot Reproduce [ 5 ]
          jiraservice Jira Service Acct made changes -
          Workflow Pentaho Engineering 9.0 Workflow [ 569423 ] Pentaho Bug 1.0 Workflow [ 634922 ]
          jiraservice Jira Service Acct made changes -
          Workflow Pentaho Bug 1.0 Workflow [ 634922 ] Pentaho Engineering 9.0 Workflow [ 656958 ]
          jiraservice Jira Service Acct made changes -
          Workflow Pentaho Engineering 9.0 Workflow [ 656958 ] Pentaho Engineering 9.1 Workflow [ 753358 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Open Open
          10d 22h 48m 1 Kurtis Cruzada 08/Jun/10 8:54 AM
          Open Open Closed Closed
          822d 2h 36m 1 Jens Bleuel 07/Sep/12 11:31 AM

            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: