shyiko / jabba

(cross-platform) Java Version Manager
2.97k stars 194 forks source link

Java version installed by Jabba does not show up on Intellij #828

Open eduardo-soares-lis opened 2 years ago

eduardo-soares-lis commented 2 years ago

I've installed jabba on my WSL2 and when I try to select it on Intellij it does not show up, but when I installed by apt get it shows. Why does it happen? Is there anyway to fix it?

liebig commented 2 years ago

Why don't you manually add the JDK installed with JABBA to IntelliJ? On Linux, the installed path should be ~/.jabba/jdk/JDK@VERSION. And you should add this as location to IntelliJ in the SDK Manager: https://www.jetbrains.com/help/idea/sdk.html#set-up-jdk