Xerces is now available only as an autoload module, not in classpath: http://libs.netbeans.org/#xerces
Regexp is now available only as an autoload module compiled manually from libs/regexp in the release40 branch, not on classpath: http://libs.netbeans.org/#regexp