How to get the version of elastic search using java api?

how to get the version of elastic search using java api?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7382961c-4d9e-4665-9ec2-3ffb0f7ada45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.