I can't install Android Studio (JDK can't be found)
<p>I can't install Android Studio because when I start the installation, <br>it can't detect a JDK. When I set manually the path (<code>C:\Program Files\Java\jdk1.7.0_79</code>) and click Next, it says that he still could not detect a valid JDK. I have done what it asks: verify the version with <code>java.exe -version</code> and this is OK, I have a good version (1.7). I have also try with a 1.8 version, but it didn't work either.</p>

<p>I have tried everything I've found :</p>

<ul>
<li><p>set the environment variables : <code>JAVA_HOME</code> and <code>JDK_HOME</code> to <code>"C:\Program Files\Java\jdk1.7.0_79"</code> and <code>PATH</code> to <code>"C:\Program Files\Java\jdk1.7.0_79\bin"</code> (and I have placed it before <code>"C:\Windows\System32"</code>)</p></li>
<li><p>uninstall all JDK and reinstall just one.</p></li>
<li><p>I have verified that my configuration matches the minimum system requirements (and it's OK).</p></li>
<li><p>The Virtualization Technology is enabled.</p></li>
</ul>

<p>And I need to mention that I had Android Studio installed on my computer (it worked perfectly, and I didn't had any problem to install it the first time) but I had to uninstall it. I did it properly (with the "uninstall a program" in the control panel). After that, before trying to reinstall it, I have empty the trash and clean the registry with CCleaner.</p>

<p>Thanks in advance for your answers :)</p>