Setup Instructions

This page explains how to setup and prepare your computer so that you can follow the examples described in the book.


You will need the following on your local machine to work with the source code and run the application:

Optional Requirements


Please follow the instructions outlined in this blog post to install the JDK and Maven using a package manager on Windows or macOS.


Verify your installation by running javac -version and mvn -version on a command line shell. The output should look similar to the following:

> javac -version
javac 1.8.0_72

> mvn -version
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
Maven home: C:\Program Files\path\to\maven\bin\..
Java version: 1.8.0_72, vendor: Oracle Corporation
Java home: C:\Program Files\path\to\java\jdk1.8.0_72\jre

Check that the environment variable JAVA_HOME points to the path of your JDK installation, e.g., C:\Program Files\path\to\java\jdk1.8.0_72.