SDP support is disabled by default. To enable SDP support, set thecom.sun.sdp.conf
system property with the location of the configuration file. This example launches an application using a configuration file namedsdp.conf
:MyApplication refers to the client application attempting to connect to the IB adaptor.% java -Dcom.sun.sdp.conf=sdp.conf -Djava.net.preferIPv4Stack=true MyApplicationYou will also notice that this example specifies another system property,
java.net.preferIPv4Stack
. See the Issues section for more information on why this property is used.