The problem was caused by the Norton firewall.
I have sorted it but I am still puzzled as to why it should work OK from TextPad and not from a DOS box.
Search found 3 matches
- Sat Aug 16, 2008 10:02 am
- Forum: Java
- Topic: Java IOException error when running from DOS box
- Replies: 4
- Views: 1111
- Sat Aug 16, 2008 7:34 am
- Forum: Java
- Topic: Java IOException error when running from DOS box
- Replies: 4
- Views: 1111
- Thu Aug 14, 2008 4:40 pm
- Forum: Java
- Topic: Java IOException error when running from DOS box
- Replies: 4
- Views: 1111
Java IOException error when running from DOS box
I have a Java program that creates a Socket (Socket s = new Socket(servers[userNo],25);) and this ran OK from a DOS box using jdk1.6.0_01 but since updating to jdk1.6.0_07 and recompiling it runs OK from TextPad but produces an IOException when run from a DOS box