Depend on older Java to fix elasticsearch dep