I'm trying to use the Kotlin REPL within Android Studio.
However, when I open it, I get the following output:
"E:\Program Files\Android\Arctic Fox\android-studio\jre\bin\java.exe" -Dkotlin.repl.ideMode=true -Dfile.encoding=UTF-8 -classpath "E:\Program Files\Android\Arctic Fox\android-studio\lib\idea_rt.jar;C:\Users\me\AppData\Local\Temp\classpath901685403.jar" com.intellij.rt.execution.CommandLineWrapper C:\Users\me\AppData\Local\Temp\classpath901685403.jar org.jetbrains.kotlin.cli.jvm.K2JVMCompiler
`CommandLineWrapper` is ill-suited for launching apps on Java 9+.
If the run configuration uses "classpath file", please change it to "@argfile".
Otherwise, please contact support.
Process finished with exit code 1
The closest solution I've been able to find is this one:
Test framework quit unexpectedly - ClassNotFound Exception
which suggests changing a value in the run configuration, however there doesn't seem to be a run configuration avalible for the REPL.
There is one for "Java Scratch", however changing this does not solve the issue.
I'm using the Arctic Fox Beta (2020.3.1 Beta 5), with version 203-1.5.20-release-289-AS7717.8 of the Kotlin plugin.