11-17-05 11:21 PM
Sean,
I am pretty sure that there is an API available in WebSphere v5/v6
available at:
[url]http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.web
sphere.javadoc.doc/public_html/api/com/ibm/websphere/product/package-summary.html[
/url]
You probably want to look at WASProductInfo.getVersion()
Regards,
David Brauneis
IBM WebSphere Architecture & Development
Websphere Application Server - Version 6.1 Release Engineer
WebSphere Platform Console Architect
sullivan.sean@menlolog.com wrote:
>Does Websphere provide a Java API for retrieving the Websphere product vers
ion?
>
>In a perfect world, I?d have a static method that looks like this:
>
>public String getWebsphereProductVersion();
>
>
>The method would return values such as
> "4.0.7"
> "5.0.2"
> "5.1.1"
> "6.0.2.2"
>
>I need a solution for Websphere 4.x, Websphere 5.x, and Websphere 6.x
>
>Thanks in advance.
>
>Sean
>
>
>
[ Post a follow-up to this message ]
|