Fixed missing -y for installing openjdk.