Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"No enough space "java.io.IOException

 
Neelam Gautam
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi All!


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 ..

please help

Thnaks in advance.

Neelam Gautam
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic