title: AWS EMR how to use shell script as bootstrap action?
body: <p>I need to be able to use Java 8 in EMR I have found this post</p>
  
  <p><a href="https://crazydoc1.wordpress.com/2015/08/23/java-8-on-amazon-emr-ami-4-0-0/" rel="nofollow noreferrer">https://crazydoc1.wordpress.com/2015/08/23/java-8-on-amazon-emr-ami-4-0-0/</a></p>
  
  <p>Which provides a bootstrap shell script </p>
  
  <p><a href="https://gist.github.com/pstorch/c217d8324c4133a003c4" rel="nofollow noreferrer">https://gist.github.com/pstorch/c217d8324c4133a003c4</a></p>
  
  <p>Which installs java 8. </p>
  
  <p>When looking at documentation on how to use bootstrap scripts its not apparent at all how to use a shell script with bootstrap actions since in documentation it asks for a Jar location (<a href="https://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/emr-plan-bootstrap.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/emr-plan-bootstrap.html</a>)</p>
  
  <pre><code>Under Bootstrap Actions select Configure and add to specify the Name, JAR location, and arguments for your bootstrap action. Choose Add.
  </code></pre>
  
  <p>I don't have a Jar location I have a shell script as a bootstrap action. </p>
  
  <p><a href="https://i.stack.imgur.com/9NDIs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9NDIs.png" alt="enter image description here"></a></p>
  
  <p>How am I suppose to use a shell script should I just enter the shell script as Jar location?</p>