Pinning the java version
Making the script +x