Build with right java version