Getting a warning prompt for exporting .doc even after installing latest Java

Screenshot 2021-06-22 at 11.44.40 AM
Screenshot 2021-06-22 at 11.56.21 AM
I installed latest Java from the “Visit Java Site” of the Prompt.
I headed straight back to Scrivener, it prompts again.
I restarted Scrivener, it prompts again.
I restarted my Mac, it prompts again.
I wonder if the prompt would automatically goes away or do I have to manually do it?
Thanks.

Additional Info:
Machine: Mac mini 2018
OS: Big Sur 11.1
Version: 3.2.2 (14633)