Setting JDK and Bash.