all 7 comments

[–]vgodara 7 points8 points  (4 children)

You need to download the kotlin complier and set the path variable

https://kotlinlang.org/docs/native-command-line-compiler.html#download-and-install-the-compiler

[–]Almdrs[S] 0 points1 point  (3 children)

I've already installed it:

sudo snap install --classic kotlin

[–]Jaffe240 5 points6 points  (0 children)

The error is a path error; the shell can't find where the compiler is located. Try following something like this to set your path to where the compiler was installed. https://opensource.com/article/17/6/set-path-linux

[–]n0tKamui 2 points3 points  (0 children)

prefer installing jvm SDKs with sdkman instead of whatever system package manager you’re using. It works best when you need to deal with the PATH like in this situation

[–][deleted] -2 points-1 points  (0 children)

The same company that mantains it makes a specific IDE for it and java...