Quite frankly, if memory serves, I don't think you can. I believe that option is windows only, and it really violates the TCP specification in a major way.
If I recall correctly, the latest version of the JVM automatically turns on the option for windows. And there is an environment variable (I think) that will disable it. Unless something changed recently, I don't think that there is an API to set this option.