

In the appeared dialog, select the checkbox if you want to create the desktop entry for all users on your computer and click OK. In the opened window, click the gear icon in the bottom left corner and select Create Desktop Entry… menu. The community edition 2022.2.4 is used in this article to explain the process but download the latest version and change the commands accordingly.Īccept the user agreement and continue.

Download IntelliJ IDEAĭownload the latest version of IntelliJ IDEA from the official website. This article explains a distribution-agnostic method to install IntelliJ IDEA. On the other hand, you can have different Linux distributions including but not limited to Debian, Ubuntu, CentOS, Fedora, Arch, or Gentoo. When it comes to installing on Linux, there are different ways to get IntelliJ IDEA. After all, it also provides a free and open-source community edition.

It goes beyond and supports the entire Java ecosystem. IntelliJ IDEA does not stop with being a better Java IDE. I was an Eclipse fan but after switching to IntelliJ IDEA I never looked back. However, IntelliJ IDEA beats them all hands down when it comes to features and productivity. There are a handful of editors and Integrated Development Environments (IDE) for Java. The IP can be retrieve from the file /etc/nf that is generated by WSL2. The WSL2 terminal must be configured to set and export the DISPLAY environnment variable to use the Windows host’s IP of WSL2. Settings are accesibles from Windows settings > Update and security > Windows Securities > Firewall and network protection > Allow an application through firewall WSL2 terminal configuration

Install VcXsrv that is an open-source and frequently updated Windows X Server (it will be the provider of graphics resources and keyboard/mouse events), then start it as follow: Intellij IDEA does not have plugin such as Visual Studio Code Remote Development, nevertheless it is possible to run linux GUI applications directly from WSL2 terminal by installing an X Server for Windows.
