First pass at making using the java cookbook optional.

First pass at making using the java cookbook optional.

For #84.
Oh lordy. Missed that. God I hate some aspects of Ruby.