I am new to IntelliJ IDEA plugin development. I followed instructions here to setup the development environment. I set both jdk 1.8 as 1.8 and jdk 1.6 as IDEA jdk as mentioned in the guide. But when I try to set the Intelli Platform Plugin SDK, it doesn't allow me select IDEA jdk which I set before in the project structure, as the internal java platform.
Only jdk 1.8 is allowed to be selected, But when I build the source with jdk 1.8 following error occurs.
Error:Kotlin: Unknown JVM target version: 1.8
Supported versions: 1.6
I tried several times. But I was not able to find a solution.