Add method for setting the java home