Menu

Force IPv4

Developers
Anonymous
2012-08-21
2012-09-06
  • Anonymous

    Anonymous - 2012-08-21

    Hi,

    How might I go about using this jar in my build path while programmatically
    forcing IPv4?

     
  • Bela Ban

    Bela Ban - 2012-08-21

    You can only set java.net.preferIPv4Stack=true when starting the JVM, after
    that - at run time - setting this system prop has no effect. You could spawn a
    new JVM though...

     
  • Anonymous

    Anonymous - 2012-08-21

    Thank you kindly. Added to my VM start options and all is well.

     

Log in to post a comment.