Verifying a license
For SaxonJ, to verify your license you can use one of the following simple commands, which will return various information from the license (including the Saxon edition covered, name of the licensee, date issued, etc.).
For example for SaxonJ-PE 11.2:
java -cp saxon-pe-11.2.jar com.saxonica.config.Verifier saxon-license.licSimilarly, for SaxonJ-EE 11.2:
java -cp saxon-ee-11.2.jar com.saxonica.config.Verifier saxon-license.lic