update the java and ruby bashrc.