OS Manuals

/usr/lib/jvm/java-8-zulu/bin/xjc

Zulu 8 Java development kit (PSU stream)

From zulu-8-psu 8.0.502-r1 (enterprise-packages), captured 2026-11-08 by running xjc --help (exit 255). permalink

unrecognized parameter --help

Usage: xjc [-options ...] <schema file/URL/dir/jar> ... [-b <bindinfo>] ...
If dir is specified, all schema files in it will be compiled.
If jar is specified, /META-INF/sun-jaxb.episode binding file will be compiled.
Options:
  -nv                :  do not perform strict validation of the input schema(s)
  -extension         :  allow vendor extensions - do not strictly follow the
                        Compatibility Rules and App E.2 from the JAXB Spec
  -b <file/dir>      :  specify external bindings files (each <file> must have its own -b)
                        If a directory is given, **/*.xjb is searched
  -d <dir>           :  generated files will go into this directory
  -p <pkg>           :  specifies the target package
  -httpproxy <proxy> :  set HTTP/HTTPS proxy. Format is [user[:password]@]proxyHost:proxyPort
  -httpproxyfile <f> :  Works like -httpproxy but takes the argument in a file to protect password
  -classpath <arg>   :  specify where to find user class files
  -catalog <file>    :  specify catalog files to resolve external entity references
                        support TR9401, XCatalog, and OASIS XML Catalog format.
  -readOnly          :  generated files will be in read-only mode
  -npa               :  suppress generation of package level annotations (**/package-info.java)
  -no-header         :  suppress generation of a file header with timestamp
  -target (2.0|2.1)  :  behave like XJC 2.0 or 2.1 and generate code that doesnt use any 2.2 features.
  -encoding <encoding> :  specify character encoding for generated source files
  -enableIntrospection :  enable correct generation of Boolean getters/setters to enable Bean Introspection apis
  -disableXmlSecurity  :  disables XML security features when parsing XML documents
  -contentForWildcard  :  generates content property for types with multiple xs:any derived elements
  -xmlschema         :  treat input as W3C XML Schema (default)
  -relaxng           :  treat input as RELAX NG (experimental,unsupported)
  -relaxng-compact   :  treat input as RELAX NG compact syntax (experimental,unsupported)
  -dtd               :  treat input as XML DTD (experimental,unsupported)
  -wsdl              :  treat input as WSDL and compile schemas inside it (experimental,unsupported)
  -verbose           :  be extra verbose
  -quiet             :  suppress compiler output
  -help              :  display this help message
  -version           :  display version information
  -fullversion       :  display full version information


Extensions:
  -Xinject-code      :  inject specified Java code fragments into the generated code
  -Xlocator          :  enable source location support for generated code
  -Xsync-methods     :  generate accessor methods with the 'synchronized' keyword
  -mark-generated    :  mark the generated code as @javax.annotation.Generated
  -episode <FILE>    :  generate the episode file for separate compilation
  -Xpropertyaccessors :  Use XmlAccessType PROPERTY instead of FIELD for generated classes
Options (39)
OptionDescriptionSource
-nvBy default, the XJC binding compiler performs strict validation of the source schema before processing it.help + man
-extensionBy default, the XJC binding compiler strictly enforces the rules outlined in the Compatibility chapter of the JAXB Specification.help + man
-b file/dir: specify external bindings files (each <file> must have its own -b) If a directory is given, **/*.xjb is searchedhelp + man
-d dirBy default, the XJC binding compiler generates the Java content classes in the current directory.help + man
-p pkgWhen you specify a target package with this command-line option, it overrides any binding customization for the package name and the default package name algorithm defined in the specification.help + man
-httpproxy proxySpecifies the HTTP or HTTPS proxy in the format [user[:password]@]proxyHost[:proxyPort].help + man
-httpproxyfile fWorks like -httpproxy but takes the argument in a file to protect passwordhelp + man
-classpath argSpecifies where to find client application class files used by the jxb:javaType and xjc:superClass customization.help + man
-catalog file: specify catalog files to resolve external entity references support TR9401, XCatalog, and OASIS XML Catalog format.help + man
-readOnlyBy default, the XJC binding compiler does not write-protect the Java source files it generates.help + man
-npaSuppresses the generation of package level annotations into /package-info.java.help + man
-no-headerSuppresses the generation of a file header comment that includes some note and time stamp.help + man
-target (2.0|2.1): behave like XJC 2.0 or 2.1 and generate code that doesnt use any 2.2 features.help + man
-encoding encodingspecify character encoding for generated source fileshelp
-enableIntrospection :enable correct generation of Boolean getters/setters to enable Bean Introspection apishelp
-disableXmlSecurity: disables XML security features when parsing XML documentshelp
-contentForWildcard: generates content property for types with multiple xs:any derived elementshelp
-xmlschemaTreats input schemas as W3C XML Schema (default).help + man
-relaxng: treat input as RELAX NG (experimental,unsupported)help
-relaxng-compact: treat input as RELAX NG compact syntax (experimental,unsupported)help
-dtdTreats input schemas as XML DTD (experimental and unsupported).help + man
-wsdlTreats input as WSDL and compiles schemas inside it (experimental and unsupported).help + man
-verboseBe extra verbose, such as printing informational messages or displaying stack traces upon some errors.help + man
-quietSuppress compiler output, such as progress information and warnings.help + man
-helpDisplays a brief summary of the compiler switches.help + man
-versionDisplays the compiler version information.help + man
-fullversion: display full version informationhelp
-Xinject-code: inject specified Java code fragments into the generated codehelp
-Xlocator: enable source location support for generated codehelp
-Xsync-methodsCauses all of the generated method signatures to include the synchronized keyword.help + man
-mark-generatedMarks the generated code with the annotation @javax.annotation.Generated.help + man
-episode FILEGenerates the specified episode file for separate compilation.help + man
-Xpropertyaccessors :Use XmlAccessType PROPERTY instead of FIELD for generated classeshelp
-relaxingTreats input schemas as RELAX NG (experimental and unsupported). (in the manual page but not in --help)man
-relaxing-compactTreat input schemas as RELAX NG compact syntax (experimental and unsupported). (in the manual page but not in --help)man
-XLocatorCauses the generated code to expose SAX Locator information about the source XML in the Java bean instances after unmarshalling. (in the manual page but not in --help)man
-host &These options are replaced with the -httpproxy option. (in the manual page but not in --help)man
-use-runtimeBecause the JAXB 2.0 specification has defined a portable runtime environment, it is no longer necessary for the JAXB RI to generate /impl/runtimepackages. (in the manual page but not in --help)man
-sourceThe -source compatibility switch was introduced in the first JAXB 2.0 Early Access release. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.