Simply check for java before recommending OracleJDK (closes #113).
Return an error when curl download fails.
New patch/URL to replace broken link.
Deprecate 'set -e' in favor of explicit returns.

Add more explicit returns.
Merge pull request #117 from havenwood/explicit_return

Deprecate 'set -e' in favor of explicit returns.