title: How to make Android studio embedded JDK use local documentation path
body: <p>I use Android studio 2.2, and use the embedded JDK as my project's JDK, this is the recommended way as the settings show.</p>
  
  <p>My project has a java module run on the host. When I working on this java module, the popup menu show <code>Fetching documentation...</code> and take a little time to show the documentation every time I want to look up documentation of some Java APIs.</p>
  
  <p>I have another version JDK installed on my host, <code>/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home</code></p>
  
  <p>so I try to change several lines of the file <code>~/Library/Preferences/AndroidStudio2.2/options/jdk.table.xml</code> from</p>
  
  <pre><code>&lt;javadocPath&gt;
      &lt;root type="composite"&gt;
          &lt;root type="simple" url="http://docs.oracle.com/javase/8/docs/api" /&gt;
      &lt;/root&gt;
  &lt;/javadocPath&gt;
  </code></pre>
  
  <p>to</p>
  
  <pre><code>&lt;javadocPath&gt;
        &lt;root type="composite"&gt;
            &lt;root type="simple" url="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/src.zip!/" /&gt;
            &lt;root type="simple" url="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/javafx-src.zip!/" /&gt;
        &lt;/root&gt;                          
  &lt;/javadocPath&gt;
  </code></pre>
  
  <p>But after I restart Android studio, my changes didn't take effect. When I look up the documentation, it's till very slow, and the content of <code>jdk.table.xml</code> has recover back, <code>javadocPath</code> url path still point to <code>http://docs.oracle.com/javase/8/docs/api</code>.</p>
  
  <p>How can I use local JDK documentation in Android studio with embedded JDK?                  </p>