Resolved, but the default sample code project seem...
# getting-started
a
Resolved, but the default sample code project seems to have set the default sdk as "Kotlin SDK" in Project Settings. After changing it to the JDK in project settings the program is compiling and running.