On OSX, you'll probably need to enable multicast on localhost:
sudo route add -net 230.0.0.0/4 127.0.0.1
The examples were tested successfully using JDK8. With the Oracle licensing model, getting JDK8 installed in Ubuntu can be done manually as follows:
- Download the Java 8 SE JDK from Oracle (this requires a login)
- Open a terminal
- mkdir /opt/jdk
- sudo tar -zxf TAR_FILE_NAME_HERE -C /opt/jdk
Then, set JAVA_HOME=/opt/jdk/jdk1.8.0_202/
Or use whatever path matches your JDK.
To check your installation:
$JAVA_HOME/bin/javac -version
javac 1.8.0_202