fixed do_release:
- JDK 6 or JDK 7 necessary
- line endings cannot contain \r