I want to do telnet from my unix server to a windows server for it i use JTA Api of java. but while i am running 'exec' function by my RunTime Object , i am getting "java.io.IOException: Not enough space" Exception. but i have enough space on my server. so whats the problem with my code..? is there any bug of IO..? my code snippet is as follows::
String exec="telnet 203.187.192.75 5501";
Runtime run=Runtime.getRuntime();
Process proc=run.exec(exec); // exception comes here ..