'Oracle Developer Tools for VS Code cannot find .NET runtime

Oracle DevTools extension for VS Code is not starting. There is an error in output:

Information:25.04.2022, 16:03:36:Activating Extension...
Error:25.04.2022, 16:03:36:{}
Error:25.04.2022, 16:03:36:.NET Core Runtime version 3.1 or later not found

This is output of dotnet --info :

Пакет SDK для .NET (отражающий любой global.json):
 Version:   6.0.202
 Commit:    f8a55617d2

Среда выполнения:
 OS Name:     linuxmint
 OS Version:  20.2
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /snap/dotnet-sdk/162/sdk/6.0.202/

Host (useful for support):
  Version: 6.0.4
  Commit:  be98e88c76

.NET SDKs installed:
  6.0.202 [/snap/dotnet-sdk/162/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.4 [/snap/dotnet-sdk/162/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.4 [/snap/dotnet-sdk/162/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download

I install .NET Core through snap with commands sudo snap install dotnet-runtime-60 --classic and sudo snap install dotnet-sdk --classic --channel=6.0. I already tried installing version 5.0 of runtime, adding paths to SDK and runtime to PATH variable and removing SDK and aliasing runtime to dotnet command (sudo snap alias dotnet-runtime-60.dotnet dotnet), but it still doesn't work. What am i doing wrong?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source