title: Install java Open JDK 10 on AWS linux
body: <p>How do I setup <a href="https://jdk.java.net/10/" rel="nofollow noreferrer">https://jdk.java.net/10/</a> so Solr 7.5 can find it under the installation?</p>
  
  <p>I am using linux Amazon Linux 2 AMI 2.0.20181008 x86_64 HVM gp2.</p>
  
  <p>Questions</p>
  
  <ul>
  <li>In what directory should I put the files. ex. /usr/local/java?</li>
  <li>Where should I set JAVA_HOME so every user will get it also after a reboot.</li>
  <li>Where should I set the path to java so every user will get it also after a reboot.</li>
  </ul>