How tell which jdk contains which versions of JAX-WS

Cincinnati Joe picture Cincinnati Joe · Mar 4, 2011 · Viewed 18.9k times · Source

There's a fix in one of the more recent versions of JAXB (2.2.1). I'm trying to determine if that's included in a recent update to Java 6. Is there a way to tell which which versions of a JVM/JRE/JDK contain which versions of JAX-WS/JAXB?

Looking at Sun/Oracle's site, I can view the release notes for the latest versions of Java SE 6, but I can't tell which versions of the XML libs are included. I guess I could download the latest JDK and run 'xjc -version', but there should be a better way (esp. if it was added in a previous release - I don't want to keep downloading JREs to tell which was the first with the version of JAXB I'm interested in).

Answer

Powerlord picture Powerlord · Mar 4, 2011

To my knowledge, libraries are not upgraded on each released of the JDK/JRE, except in major versions. Even then, I don't think they cross the minor-version line.

And, to answer your unwritten question, this is the output from xjc -version on JDK 1.6.0_24:

xjc version "JAXB 2.1.10 in JDK 6"
JavaTM Architecture for XML Binding(JAXB) Reference Implementation, (build JAXB
2.1.10 in JDK 6)

2.1.10 was released on February 6th, 2009, which was updated in Java 6u14.