Java Program to excecute Windows application like notepad, calulator.

Below is the code to execute any wondows  ap[plication (example: notepad, calulator):

import java.util.*;
import java.io.*;

class Notepad
{
    public static void main(String[] args)
    {
        Runtime rs=Runtime.getRuntime();
        try
        {
            rs.exec("calc");
            rs.exec("notepad");
        }
        catch(IOException e)
        {
            System.out.println(e);
        }
    }
}  

Thank You.