class AppRunner
{
public static void main(String args[])
{
Runtime r = Runtime.getRuntime();
Process p = null;
String cmd= "notepad";
try
{
p = r.exec(cmd);
}
catch (Exception e){ e.printStackTrace(); }
}
}