I do not want to go into a lot of detail here, because the JMS Documentation is very good. This post is more an abridged description, with working code. Install ActiveMQ First install ActiveMQ as per my previous post. Start ActiveMQ …
/usr/libexec/java_home -V this will list all the Java Versions on the machine select the specific version using: export JAVA_HOME=`/usr/libexec/java_home -v 1.8.0_125` or just specify the major number export JAVA_HOME=`/usr/libexec/java_home -v 1.8` Now run java -version Facebook0Tweet0Pin0