title: Can't download JDK 8
body: <p>I'm trying to setup Unity to build for Android. But I can't get the Java Development Kit. Can't download it and can't find it either.</p>
  
  <p><a href="http://%20https://stackoverflow.com/questions/31506112/cant-seem-to-download-jdk-8-can-only-download-jre-8" rel="nofollow noreferrer">In this answer</a>, the guy says </p>
  
  <p><em>To ensure JDK is installed, just go through the following :
      press Win + R
      type 'cmd' in the popup and press button OK.
      in the console which has opened, type javac -version and press enter.
  You should see as an output :
  javac 1.8.0_XX
  <strong>If so SDK is installed</strong>.</em></p>
  
  <p>I did that and I got "javac 1.8.0_XX", and so I assumed I had the JDK, so I went to <strong>Unity > External Tools > JDK</strong> and tried linking the following path: "C:\Program Files\Java\jre1.8.0", and got the error message: "The path you specified does not look like a valid JDK installation. Android development requires at least JDK(1.7), having JRE only is not enough. Please make sure you are selecting a suitable JDK home directory or download and install the latest JDK: <a href="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html" rel="nofollow noreferrer">link</a>"</p>
  
  <p><strong>I clicked the download link for windows x64 and it never loads and eventually says there's no connection. I tried the x86 as well.</strong></p>
  
  <p>In this SO question <a href="https://stackoverflow.com/questions/4681090/how-do-i-find-where-jdk-is-installed-on-my-windows-machine">How do I find where JDK is installed on my windows machine?</a></p>
  
  <p><strong>Answer:</strong> For windows, in the command prompt: </p>
  
  <pre><code>c:\&gt; for %i in (java.exe) do @echo.   %~$PATH:i
  </code></pre>
  
  <p>And so I did that and got the path "C:\ProgramData\Oracle\Java\javapath\java.exe"</p>
  
  <p>When I try linking via <strong>Unity > External tools > JDK</strong> it doesn't find any files.</p>
  
  <p>I'm a bit clueless now.</p>