Update pre-commit formatter to use java from repo rather than path. (flutter/engine#54450)

This removes the recently added requirement of contributors having
`java` on their path.

Also removed the mention of java being needed in setup (I don't have
java
installed and have built the engine from mac for years).

Fixes https://github.com/flutter/flutter/issues/152968
Fixes https://github.com/flutter/flutter/issues/129221
4 files changed
tree: 87e079c09c9e81a7347a36715e9eeb24a279ae64
  1. engine/
  2. DEPS