Don't have Telegram yet? Try it now!
https://oneminutemacman.com/how-to-make-the-annoying-to-use-the-java-command-line-tool-you-need-to-install-a-jdk-pop-up-go-away-forever/
How to make the annoying "To use the java command-line tool you need to install a JDK" pop-up go away forever