adds options to manage java outside of cookbook