title: How do you replace endorsed directory in Java 9?
body: <p>In Java 8 and prior there exists the mechanism to use an endorsed directory(java.endorsed.dirs), which is a collection of libraries which overrides JDK internal implementations.</p>
  
  <p>How can I solve this in Java-9? As endorsed dirs where removed there?</p>