

WSL 2 is completely revamped and now we have a complete Linux kernel built by Microsoft ( WSL2-Linux-Kernel) that runs in a lightweight utility VM (virtual machine). In this article, I am going to introduce a fourth option (using WSL 2 and X Server) and compare its performance with the first option. The second and third options are good for having Linux features but they don’t have good performance and consume a lot of resources. The first option is the most straightforward one but it won’t work always if you need some specific Linux features in your development process. Install an Ubuntu server using Multipass and then connect to it using RDP (if you installed a desktop environment on the Ubuntu server) or connect to it using an X Server like VcXsrv.Install A desktop Linux distro on the VMWare or Virtualbox and then install JDK, Maven, and … on that VM.Download native JDK, Maven, and … for Windows and install them directly on the Windows.


As a Java developer, If you want to set up a development environment on Windows you have three options (my experiences):
