We will get the newest OpenJDK code available and will test for feature availability. Don't hesitate to try new features, they may be available in the newer releases. Since the OpenJDK 9 release, it will remain the fastest way to give OpenJDK 9 a test. Hopefully, upon the release, the same thing will work for OpenJDK 10.
We will download, unpack, and run the latest publicly available full OpenJDK build:
Open the page https://jdk9.java.net/.
Download the early access preview, as shown:
Run an installer.
You can find out how to install OpenJDK from an archive in Chapter 1, Getting Started with OpenJDK of this book.
Test some interesting features that are already included in the early access JDK. Look at the following code:
DatagramSocket socket = new DatagramSocket(4445); System.out.println(socket.supportedOptions());
When...