Java is already included in your installation of your Android Studio. If you encounter this problem, please don't install Java to fix it.
If you have Java installed and you don't have any reason to have it installed, you can uninstall Java to fix this problem.
If that doesn't fix your problem, run this following command:
flutter config --jdk-dir "path to your jdk"
You can find more information on that command and other configuration flags by running flutter config --help
Here's one idea:
When a user send a message containing this:
Reply with a common reply: