The version of Metro bundled with JavaSE?

Java SE 6 and later come bundled with Metro. Surprisingly, a Java ver x -> Metro ver y list is nowhere to be found.

How can I find out what version of Metro is bundled with my JVM? Either by inspecting the VM at runtime or by checking a file from the installed JVM.

Answers


JDK 6 comes bundled with JAX-WS RI. GlassFish Metro is a web services stack that includes JAX-WS RI among other components like JAXB RI or StAX, but it's a separate project. So you would have to download the Metro jars if you want to use it.

JDK 6 started including JAX-WS RI 2.0 and since update 4 it includes JAX-WS RI 2.1.

You can find the JAX-WS RI version your JDK is using with the wsimport command: wsimport -version.


Using wsimport -version as per David Lizárraga's answer, for various JavaSE 1.7.0 builds I triedon Windows and Linux, I get

JAX-WS RI 2.2.4-b01

This, and David's answer, yield the following table.

 JavaSE   JAX-WS RI
--------+----------
      6        2.1  
      7      2.2.4  

Need Your Help

Lat Lon through HTTP POST

ios string http-post core-location

Ok, so my iOS app requires sending Latitude & Longitude to recieve the suburb through a HTTP POST method.

Mecurial and YouTrack Integration

youtrack

I am using YouTrack by JetBrains.