Add an option to install java, or not
Also, fix filesystem perms
Merge pull request #2 from curator/PN666_make_java_optional

Add an option to install java, or not