This is caused by the inconsistency between java and javac versions. Manual deletion is not recommended, use the deletion tool that comes with JavaUninstallTool.exe to delete, there is no available official website download, download address: https://www.java.com/zh-CN/download/uninstalltool.jsp
Run to delete!