Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-1665

Better default value for Java binary path

    XMLWordPrintableJSON

Details

    Description

      JavaLaunchCommandBuilder sets the default path to the Java executable in this way:

      private static final String DEFAULT_JAVA_PATH = System.getenv("JAVA_HOME") + "/bin/" + "java";
      

      That is, by default REEF client assumes that
      1) you have JAVA_HOME environment variable set, and
      2) your JAVA_HOME is the same as the one on the remote host.

      A better solution would be to set

      DEFAULT_JAVA_PATH = "java";
      

      and assume that java binary is in the system's PATH - both on the client and in the cluster.

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            motus Sergiy Matusevych
            motus Sergiy Matusevych
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified