country detection liblary for java works by ip detection
how it works
- download index from https://mojeip.cz get ip from the website
- remove index file
- from string get ip with jackson json liblary https://api.iplocation.net/?ip=detectedip