Java IOException error when running from DOS box
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 3
- Joined: Thu Aug 14, 2008 4:29 pm
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
- Nicholas Jordan
- Posts: 124
- Joined: Mon Dec 20, 2004 12:33 am
- Location: Central Texas ISO Latin-1
- Contact:
details ....
what does exception.getMessage() say
-
- Posts: 3
- Joined: Thu Aug 14, 2008 4:29 pm
-
- Posts: 3
- Joined: Thu Aug 14, 2008 4:29 pm
Problem sorted
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.
I have sorted it but I am still puzzled as to why it should work OK from TextPad and not from a DOS box.
- Nicholas Jordan
- Posts: 124
- Joined: Mon Dec 20, 2004 12:33 am
- Location: Central Texas ISO Latin-1
- Contact:
possibly lengthy
I have been working on this, let us say for the purpose of clarifiying: "uh, non-obvious" It can get deep in a hurry.
http://www.nabble.com/ide-password-does ... 14104.html
http://www.codeproject.com/w2k/junction ... e_Solution
That is all I have so far, let me know if you want to work it.
http://www.nabble.com/ide-password-does ... 14104.html
http://www.codeproject.com/w2k/junction ... e_Solution
That is all I have so far, let me know if you want to work it.