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, ...
LACT will overclock your machine with almost no restrictions.
But you probably shouldn't unless your GPU has plenty of headroom.