

The JAXB-specific xjc and schemagen tools, which you use to convert an XML Schema ( *.xsd file) to a set of Java classes and vice versa, are included with the JDK up to version 10, but have been removed in JDK 11. When you try to use these tools with JDK 11 or newer, you’ll get a “command not found” or similar error. Java’s standard library isn’t exactly small and lightweight.

In the course of the past 20+ years, many features have been added to it, mostly because at the time it was thought that it would be a good idea if Java supported a particular technology out-of-the-box. One of these was support for XML-based web services. When Java SE 6 was released in December 2006, XML-based web services were popular, so the developers of the Java language thought it would be a good idea if Java would have support for calling web services as a standard feature.
