Fix java version command