I don’t know if it uses Java, but I use the Epubcheck plugin for Sigil, to do all my epub checks.
Jim