Why do you need to install a jdk?
This seems to be an on-going thing with Apple but previous threads indicate that each time it seems to be a different issue. I just updated Catalina (10.15.7). The update included safari, system security update and a command-line tools update. After the update was complete, I got the following error when running brew update.
To use the "java" command-line tool you need to install a JDK. Click "More info..." to visit the Java Developer Kit download website.
When I click "more" it takes me to an adobe flash player end of life page. I noticed in similar threads it takes the user to a different page. For example in this post it takes a user to a safari page. I don't have the facebook file in Library/LaunchAgents like what has been reported in similar threads from 2019.
Is "java" a dependency of command-line tools now? Can I resolve this message any other way besides trying to download JDK on a system that was running fine without it?
Why am I getting taken to an adobe flash page when I click more? I don't have flash either (unless it was installed by factory)
You need to install a jdk because PR was merged, fix will be available when version 3.0.1 is released. This is a known issue that is being actively worked on. I'm ignoring the alert for now, with the understanding that it will no longer show up once that PR is merged.