Learning how to brew java