Cannot get kotlin plugin to work


#1

Hi, Though I had the kotllin plugin set up ok. Cannot get program to run. See attached screenshots. Any thoughts?



kotlin2.tiff (75.1 KB)

kotlin1.tiff (101 KB)

#2

How are you trying to run your program? Seems that you have wrong class provided in Run configuration. To quickly run your program, you need to either invoke "Run/Debug" actions in context menu of your source file or create new Run configuration of "Kotlin" type with main class "hello.namespace" (more common, "<package with main class>.namespace").


#3

Thanks for that - I wasn't specifying the class correctly.