I've tried it on my system as well without Java. I opened CMD from the start menu which will then open a 64-bit CMD window. Telnet works in it. I then opened CMD from Total Commander. Since Total Commander is 32-bit, it launches a 32-bit CMD. Telnet does not work in that. Apparently, on a 64-bit Windows 7 system, telnet only works when launched from a 64-bit application.
Telnet works with CMD but does not work when launch from java program.
Joined: May 31, 2011
I guess Rob tells that telnet does not launch from a 32-bit JVM and only on a 64-bit JVM (in case of Win7 i believe). What is the bit version of the JVM that executes your java program and that invokes the cmd.exe?
Which one listed here is that you have - x86 or x64?
Joined: Jul 29, 2008
OK.. My JVM is 32 bit. I will try by installing 64 bit JVM and check the result.