openjdk might not be available in the various places properties.sh is
sourced, as when linting the packages:
https://github.com/termux/termux-packages/pull/10331. Revert the
commit to fix this issue.
This reverts commit a7e384c1d9819435a80ad908626abd35fb2fb4ce.