updating java home.
cleaning up bashrc (mostly for darwin).