fix line endings for java_env.sh

this was failing setting JAVA_HOME when used from Windows