IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  XML  >  

XML Enhancements for Java

A set of language extensions that facilitate XML processing in Java. (This is an ETTK technology.)


Date Posted: March 31, 2005
This is an ettk technology.
OverviewRequirementsDownload FAQs Forum Reviews

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

Download now Download now

Related technologies

For platform(s):
Linux, Windows, UNIX

For topics:
Emerging Technologies Toolkit (ETTK), Java technology, optimization, performance, XML, XPath


Related resources

jStart can supply assistance in deploying a solution or prototype at your business using this ETTK technology

Simplify XML processing with XJ

Press Articles

 

    About IBM Privacy Contact