I don't understand why you are giving me that information.
You are running Elasticsearch 7.1.1 that ships with JDK 12
The most recent version of Elasticsearch is 7.9.3 and it ships with JDK 15.
If you upgrade your Elasticsearch version it will solve your JDK version issue.
Otherwise, you can switch your existing Elasticsearch version to use your own JDK instead by following the instructions I linked to in my previous reply. However, you need to perform those steps carefully, because you risk breaking Elasticsearch if you do the wrong thing.