reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergiy Matusevych (JIRA)" <>
Subject [jira] [Created] (REEF-1665) Better default value for Java binary path
Date Tue, 08 Nov 2016 01:53:58 GMT
Sergiy Matusevych created REEF-1665:

             Summary: Better default value for Java binary path
                 Key: REEF-1665
             Project: REEF
          Issue Type: Bug
          Components: REEF Client, REEF Driver
            Reporter: Sergiy Matusevych
            Assignee: Sergiy Matusevych
            Priority: Minor

{{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


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

This message was sent by Atlassian JIRA

View raw message