Examples: Platform property (Session - Java)

This application prints the name of the platform.

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