Jump to Real's How-to Main page

Detect the Microsoft JVM version installed

class MSJVMversion
   {
      public static void main(String[] args)
      {
       String build;
       build=com.ms.util.SystemVersionManager.getVMVersion().getProperty
            ("BuildIncrement");
       System.out.println("Microsoft JVM installed is " + build);
      }
   }
NOTE:The above snippet will return the Microsoft VM version. This not the same thing as as the JDK version. In this case , Microsoft's Java environment only goes up to 1.1.4 and there is no plan to upgrade it.
If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]