Examples: NotesVersion property (Session - Java)

This application displays the release number of Domino® installed in the local program and data directories.

import lotus.domino.*;
class version extends NotesThread
{
  public static void main(String argv[])
    {
        version t = new version();
        t.start();
    }
  public void runNotes()
    {
    try
      {
        Session s = NotesFactory.createSession();
        String v = s.getNotesVersion();
        System.out.println("Domino version = " + v);
      }
    catch (Exception e)
      {
        e.printStackTrace();
      }
    }
}