6/23/2023 0 Comments Install intellij ubuntu 20.04It turned out that I’ve needed to open my firewall for IntelliJ, to be able to connect to WSL2. Instead I’ve seen on my build console Connection refused: no further information In theory everything should work seamlessly after I’ve load a project from WSL2 network share \\wsl$\Ubuntu-20.04 - JDK should be discovered along with gradle. JetBrains built in WSL2 support in the latest (back then) version of IntelliJ. Switch default path after opening new terminal for WSL - Ubuntu-20.04 We need to open settings, go to JSON settings file and add proper entry under ubuntu profile, in my case it looks like (replace $USER with your user name): " Working with IntelliJ IDEA 2021.1 This led mi into a couple of tweaks which were essential for me: As it is recommended on Microsoft WSL2 installation manual I’ve installed Windows Terminal app. Installing Windows Terminal (optional)Īll of above commands I was typing in traditional windows command prompt which gives me a pain. I’ve decided to install OpenJDK 11 with Gradle 7. It turned out that WSL2 Ubuntu is missing more dependencies. $ sudo apt-get update $ sudo apt-get install curlĪfter that, as manual is stating I’ve invoked command $ curl -s "" | bashīut nothing happened. First I needed to install obvious dependency - curl. I am using SDKMAN since a few years now, so I’ve decided to go with it this time as well. I strictly followed instructions described there under manual installation steps. This operation requires local administrator rights on your machine (as you may expected ?). Installing WSL2 with Ubuntu 20.04Īs a first step, you need to install and enable Windows Subsystem for Linux version 2. raw performance)Īfter a brief research, I decided to use Windows Subsystem for Linux 2 with the latest IntelliJ IDEA version which brings support for it.
0 Comments
Leave a Reply. |