I am using the Kotlin getting started guide to setup Kotlin for the first time on IntelliJ IDEA with the following configuration:
IntelliJ IDEA 2017.2.5 Buil
Just check "Use embedded JDK" in File>Project Structure>SDK Location> JDK Location