JOverseer / joverseer

JOverseer is a desktop application which aims to assist players of the Middle Earth PBM game.
BSD 3-Clause "New" or "Revised" License
3 stars 5 forks source link

Order send error #624

Closed GnarlyDave closed 8 years ago

GnarlyDave commented 8 years ago

when sending an order to ME, jOverseer reports error Address family no supported by protocol family: connect

GnarlyDave commented 8 years ago

It looks like this is the problem...

http://stackoverflow.com/questions/16373906/address-family-not-supported-by-protocol-family-socketexception-on-a-specific

ie...assuming that it isn't anti-virus getting in the way, It is most likely that java is confused between using IPv4 or IPv6.

As a temporary fix, edit joverseer.bat and make sure it uses the line:

java -Xmx512M -jar joverseer.jar -Djava.net.preferIPv4Stack=true %1

Then use the joverseer.bat file to start joverseer, instead of the usual shortcut.

The construction rules for building jOverseer.exe will need to include this setting for future releases.