New scripting user question: I'm wondering about t...
# scripting
d
New scripting user question: I'm wondering about the current status of IDE support for running and debugging kts scripts. e.g. `foo.main.kts`:
Copy code
#!/usr/bin/env kotlin

println("foo")
fails in IntelliJ 2020.1.2 with the following error:
Copy code
error: org/jetbrains/kotlin/scripting/compiler/plugin/impl/KJvmCompiledModuleInMemory (foo.main.kts): java.lang.NoClassDefFoundError: org/jetbrains/kotlin/scripting/compiler/plugin/impl/KJvmCompiledModuleInMemory
I tried the
1.8
and
11.0.5
as JDKs. Is this something that should be working currently? If not, is there an issue/page to track the progress of this? Thanks.
i
Could you, please, try it with newer version of the Kotlin plugin, e.g. 1.4-M3?
d
yes - that worked! thanks @ilya.chernikov