Formula for installing components of OpenJDK and Oracle Java (versions 6 and 7)