Link: http://blog.csdn.net/kongxx/article/details/7059982
During Maximo development, you sometimes need to determine whether certain functions are available based on the version information of the currently running Maximo. In this case, you can use the psdi. util. version class to obtain Maximo version information.
Import psdi. util. version; </P> <p> public class test {<br/> Public static void main (string [] ARGs) throws exception {<br/> system. out. println (version. getstring (); <br/> system. out. println (version. versionstr); <br/> system. out. println (version. majorversion); <br/> system. out. println (version. minorversion); <br/>}< br/>}Run the precedingProgramThe following result is displayed:
Maximo Application Server 6.2.1 build 156 dB build V600-530 <br/> Maximo Application Server 6.2.1 build 156 dB build V600-530 <br/> 6 <br/> 2