install_java flag added