i want to run my code in intellij ide (community edition) and when i try to run it, i got this error
Cannot determine path to 'tools.jar' library for 18 (C:/Program Files/jdk-18.0.1.1)

Help me pls... I want to learn kotlin use intellij ide

version ide : 2020.2 Thank you :)
The problem is with version of JDK you are using. The Intellij version 2020.2 supports only upto JDK 14. So either you have to lower the JDK version to 14 or update the IntelliJ to a newer version like 2021.
Source: https://www.jetbrains.com/help/idea/supported-java-versions.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With