In Java 9, Java 10 location of the jaxp.properties
changed to $JAVA_HOME/conf/jaxp.propertes
. This is actually indicated by the JavaDoc of DocumentBuilderFactory#newInstance
Java version | jaxp.properties location |
---|---|
1.8 or earlier | $JAVA_HOME/jre/lib/jaxp.properties |
9 or later | $JAVA_HOME/conf/jaxp.properties |