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 ...
Your favorite Linux terminal tweaks from Linux are availalble. You just have to know where to look.