Can't run Kotlin program - necessary to edit configuration


#1

I downloaded latest IDEA, Ubuntu 16.04. I thought it supposed just to work - of out the box. I tried to run ‘hello world’, but when I click ‘run’ it proposes me to edit configurations.


#2

To run the program, click on the gutter icon, as described in the tutorial.


#3

I don’t have such:


#4

Write the main function outside the class. Right now, it is an instance method, not suitable to be run as main.


#5

Thanks guys. It works now.