The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available.
See Java Language Changes for a summary of updated language features in Java SE 9 and subsequent releases.
See JDK Release Notes for information about new features, enhancements, and removed or deprecated options for all JDK releases.
SDP support is disabled by default. To enable SDP support, set the com.sun.sdp.conf
system property by providing the location of the configuration file. The following example starts an application using a configuration file named sdp.conf
:
% java -Dcom.sun.sdp.conf=sdp.conf -Djava.net.preferIPv4Stack=true ExampleApplication
ExampleApplication refers to the client application that is attempting to connect to the IB adaptor.
Note that this example specifies another system property, java.net.preferIPv4Stack
. See the
Issues section for more information about why this property is used.