Date Posted: March 31, 2005
Platform requirements
Operating systems: Windows, Linux, or UNIX. On Windows, use the xjc.exe/xj.exe executable files from a Cygwin shell or a Windows command prompt. On Linux/UNIX, use the xjc/xj scripts. The -h/--help option lists the available command line arguments.
Software: Java Run-time Environment (JRE) 1.4 (for the compiler and run-time system). XJ relies on the standard JAXP XML parser and the Xalan XSLT engine provided by JRE 1.4.
Installation instructions
XJ consists of two zip files:
- xj-bin-1.0.zip: The XJ compiler and run-time system. This archive is sufficient for compiling and executing XJ programs.
- xj-src-1.0.zip: Source for modified portions of the Eclipse JDT, on which the XJ compiler is built. Downloading this archive is optional; this archive is not required for the compilation and execution of XJ programs.
Extract the xj-bin-1.0.zip file, which will create the XJJDT directory. The compiler and run-time executable files (xjc and xj), located in the bin sub-directory of XJJDT, use the following mechanisms to locate the JRE (Java Runtime Environment) installation:
- First, if the JAVA environment variable is set, it is assumed that it specifies the full path to the java executable.
- Otherwise, if the JAVA_HOME environment variable is set, it is assumed that the bin sub-directory of JAVA_HOME contains the java executable.
- Finally, the PATH environment variable is used to find the java executable.
The XJJDT directory is structured as follows:
- Compilation:
- bin/xjc.exe (Windows/Cygwin)
- bin/xjc (UNIX/Cygwin)
- Run:
- bin/xj.exe (Windows/Cygwin)
- bin/xj (UNIX/Cygwin)
- "Getting started" files:
- README
- FAQ
- INSTALL
- FIRSTSTEPS
- Documentation: doc/XJmanual.pdf
- Regression tests: regression/
- Licensing information: licenses/
- Sample Programs: samples/
- Compiler support libraries:
- lib/xj.jar
- lib/xj-jdt.jar
- lib/xj-runtime.jar
- Other libraries:
- XSD 2.0.1:
- share/xsd.resources.jar
- share/xsd.jar
- share/common.jar
- share/common.resources.jar
- share/ecore.jar
- XAEL: share/xael.jar
- XSD 2.0.1:
Download description
| Filename | File size | Description |
|---|---|---|
| xj-bin-v1.2.zip | 4540KB | Zip file containing XML Enhancements for Java |
| xj-src-v1.2.zip | 864KB | Zip file containing source for portions of XML Enhancements for Java (optional) |
