How do I get xjc?
Note that since Java 11, the JAXB was removed from the JDK. It has to be separately installed. There is a bin
directory in the ZIP file where we can find the xjc
and schemagen
tools.
Download link: https://javaee.github.io/jaxb-v2/
I got it when I installed java. It is probably on your system right now. Look in the directory where java, javac, etc are located.