There are three main components that you need:
Java compiler and runtime. JSE 5+ is required.
XBinder Java Runtime (xbrt.jar). This needs to be in your classpath when compiling, and at runtime.
StAX API and StAX implementation. The API must be available during compilation; both the API and the implementation must be available at runtime. Note that JSE 6+ includes the StAX API and a StAX implementation.
If you are using JSE 5, you will need to obtain the StAX API. It is available at http://dist.codehaus.org/stax/jars/ stax-api-1.0.1.jar. As of JSE6, the StAX API is part of the JSE platform; you do not need to obtain it separately.
Be sure to include stax-api-1.0.1.jar in your classpath at compilation and run-time.
If you are using JSE 5, you must obtain an implementation of StAX. We recommend Woodstox 3.9.2 or higher. Even if you are using JSE 6, you may want to use Woodstox, as this is the implementation we are currently using internally.
You can obtain Woodstox at http://woodstox.codehaus.org/.
To use Woodstox, simply include the downloaded JAR in your classpath (this works even if you are using JSE 6).