How do I get xjc?
So I was looking at interacting with xml files for a project I was working on and one of the things I want to do is generate Java classes from a .dtd file. After some searching, I found out that xjc should be able to do what I want, but I can't for my life know where to get the program.
I feel like the answer is sitting right in front of me, but my google-fu is really failing in hardcore right now ...
source to share
Please note that as of Java 11, JAXB has been removed from the JDK. It must be installed separately. The ZIP file has a directory bin
where we can find tools xjc
and schemagen
.
Download link: https://javaee.github.io/jaxb-v2/
source to share