That's the end of a story for detecting system jdk location
NodeSet.getFirstNode() can return null
Fixed NPE when Document.getElementsByTagName has no result