title: Can't find javac Error while Deploying Play Application
body: <p>So this question has been asked before, but following everything, setting the path and moving it to the top, and everything else I can't get it to work.</p>
  
  <p>Here's the full error <a href="https://hastebin.com/qezelugaba.rb" rel="nofollow noreferrer">https://hastebin.com/qezelugaba.rb</a></p>
  
  <p>In summary, for some reason SBT thinks that javac is located within the project's working directory and not where the environment path variable has it set.</p>
  
  <p>I have no clue how/where to fix this.</p>
  
  <p>I am/was following this <a href="https://www.playframework.com/documentation/2.6.x/Deploying" rel="nofollow noreferrer">https://www.playframework.com/documentation/2.6.x/Deploying</a> on deploying my app, following the <code>dist</code> command.</p>
  
  <p>To follow up, I have the path to my JDK in the Environment variables like so
  <a href="https://i.stack.imgur.com/BNKSG.png" rel="nofollow noreferrer">Environment Variable Path</a>
  and yes I do have JDK installed.</p>