Noted the external dependency on Java in the README
Switched from an 'npm install' hook to an 'npm prepublish' hook.
Hopefully this will avoid the issues that have been happening on Travis.