First pass at making using the java cookbook optional.

For #84.
Using symbols instead of strings to match the rest of the recipe's
style. For #84
Drop extra quotes
[2.4.2] Allow pre-installed Java to be used