title: Oozie shell action failed to exec java in Linux
body: <p>We have submit below Oozie workflow job. It executed in windows cluster but in Linux it is failed.          </p>
  
  <pre><code>&lt;workflow-app xmlns='uri:oozie:workflow:0.3' name='shell-wf'&gt;
      &lt;start to='shell1' /&gt;
      &lt;action name='shell1'&gt;
          &lt;shell xmlns="uri:oozie:shell-action:0.1"&gt;
              &lt;job-tracker&gt;${jobTracker}&lt;/job-tracker&gt;
              &lt;name-node&gt;${nameNode}&lt;/name-node&gt;
              &lt;configuration&gt;
                  &lt;property&gt;
                    &lt;name&gt;mapred.job.queue.name&lt;/name&gt;
                    &lt;value&gt;${queueName}&lt;/value&gt;
                  &lt;/property&gt;
              &lt;/configuration&gt;
              &lt;exec&gt;Java&lt;/exec&gt;
              &lt;argument&gt;A&lt;/argument&gt;
              &lt;argument&gt;B&lt;/argument&gt;
              &lt;file&gt;${EXEC}#${EXEC}&lt;/file&gt; &lt;!--Copy the executable to compute node's current working directory --&gt;
          &lt;/shell&gt;
          &lt;ok to="end" /&gt;
          &lt;error to="fail" /&gt;
      &lt;/action&gt;
      &lt;kill name="fail"&gt;
          &lt;message&gt;Script failed, error message[${wf:errorMessage(wf:lastErrorNode())}]&lt;/message&gt;
      &lt;/kill&gt;
      &lt;end name='end' /&gt;
  &lt;/workflow-app&gt;   
  </code></pre>
  
  <p>But when i execute the above workflow file, it throw's exception <strong>can not run java program. No such file or directory</strong>. </p>