set java_home and sewer_home vars