title: Export/reuse Java 11 "Single-File Source-Code" in-memory class
body: <p>Java 11 introduced a new feature <a href="https://openjdk.java.net/jeps/330" rel="nofollow noreferrer">JEP 330</a>, called &quot;Single-File Source-Code Execution&quot;.<br />
  I was wondering: Do I need a JDK 11 for it or JRE 11 will be sufficient?</p>