have you gone to to Build, Execution, Deployment ...
# getting-started
e
have you gone to to Build, Execution, Deployment > Compiler > Kotlin Compiler, changed the target jvm to 1.8?