When I run my Java code from Eclipse it works fine. When I run it from a terminal in the Windows Subsystem for Linux it says "No X11 DISPLAY variable was set,". It is set, I can echo it. I can also ...
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, ...