If Java is not working in Windows 11/10, these solutions may help you troubleshoot the issue. Although, due to the lack of NPAPI support, Java applets stopped working in Microsoft Edge, Google Chrome, ...
A clean uninstall should not require detective work, yet here we are with folders and suspicion.