Building OpenJDK with extra compile flags sh configure \ --with-extra-cflags="-Wno-error" \ --with-extra-cxxflags="-Wno-error"