title: Is Ahead-Of-Time compilation available in Java 9?
body: <p>As per <a href="http://openjdk.java.net/jeps/295" rel="nofollow noreferrer">JEP 295</a></p>
  <blockquote>
  <p>AOT compilation of any JDK modules, classes, or of user code, is experimental and not supported in JDK 9.</p>
  <p>To use the AOTed java.base module, the user will have to compile the module and copy the resulting AOT library into the JDK installation directory or specify it on java command line.</p>
  </blockquote>
  <p>I am confused with the above statement,  if AOT is not supported in JDK 9 then how can we compile the module using AOT?</p>
  <p>My second question is why AOT not supported in JDK 9 if it has many <a href="https://stackoverflow.com/questions/2106380/what-are-the-advantages-of-just-in-time-compilation-versus-ahead-of-time-compila">advantages over JIT?</a></p>