First pass at making using the java cookbook optional.

First pass at making using the java cookbook optional.

For #84.
Heh, left some quotes. I got it though.