title: Intellij error=2 No such file or directory
body: <p>Installed intellij and added sdk path to project structure, but when i try to run i get:</p>
  
  <pre><code>Error: Cannot run program "/home/$USER/java/jdk1.8.0_121/bin/java" 
  (in directory"/home/$USER/.intelliJIdea2016.3/system/compile-server"):
  error=2, No such file or directory
  </code></pre>
  
  <p>Both files (/home/$USER/java/jdk1.8.0_121/bin/java and /home/$USER/.intelliJIdea2016.3/system/compile-server) exists.</p>
  
  <p>I am using Ubuntu 16.10</p>