Don't have Telegram yet? Try it now!
https://kodejava.org/how-do-i-set-the-default-java-jdk-version-on-mac-os-x/
How do I set the default Java (JDK) version on Mac OS X?