You want to call a telnet command at runtime? If so, try this:
Runtime rt = Runtime.getRuntime();
Process p = rt.exec("telnet 192.168.1.15");

Please be more precise in your questions.
...