Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><strong>Find JDK Installation Directory</strong></p> <p>First you need to know the installation path for the Java Development Kit.</p> <p>Open the default installation path for the JDK:</p> <pre><code>C:\Program Files\Java </code></pre> <p>There should be a subdirectory like:</p> <pre><code>C:\Program Files\Java\jdk1.6.0_10 </code></pre> <blockquote> <p><strong>Note:</strong> one has only to put the path to the jdk without /bin in the end (as suggested on a lot of places). e.g. C:\Java\jdk1.6.0_31 and NOT C:\Java\jdk1.6.0_31\bin !</p> </blockquote> <hr> <p><strong>Set the JAVA_HOME Variable</strong></p> <p>Once you have the JDK installation path:</p> <ol> <li>Right-click the <strong>My Computer</strong> icon on your desktop and select <strong>Properties</strong>.</li> <li>Click the <strong>Advanced</strong> tab, then click the <strong>Environment Variables</strong> button.</li> <li>Under <strong>System Variables</strong>, click New. </li> <li>Enter the variable name as <strong>JAVA_HOME</strong>.</li> <li>Enter the variable value as the installation path for the Java Development Kit. </li> <li>Click <strong>OK</strong>. </li> <li>Click <strong>Apply Changes</strong>.</li> </ol> <blockquote> <p><strong>Note:</strong> You might need to restart Windows</p> </blockquote> <p>The complete article is here, on my blog: <a href="http://www.robertsindall.co.uk/blog/setting-java-home-variable-in-windows/">Setting JAVA_HOME Variable in Windows</a>.</p> <p>Get <a href="https://www.youtube.com/watch?v=GR1mUi5HSBU">Video Solution</a>.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload