JAVA_HOME is now injected at the top of .bashrc so it gets set for non-interactive shells.