Revert "elasticsearch: bump Java requirement."

This reverts commit 0cd15fca957fb2a2a021ac63b9a3be79434c0609.