- I set “-Dkotlin.daemon.verbose” in the “User local VM options” at “Settings -> Build, Execution, Deployment -> Compiler”
- Pressed “Rebuild Project” in small project
- New information in “Messages” has been shown:
Information:Kotlin: [daemon client] no suitable daemon found
Information:Kotlin: [daemon client] starting the daemon as: C:\Program Files\Java\jdk1.8.0_66\jre\bin\java -cp C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.2\plugins\Kotlin\kotlinc\lib\kotlin-compiler.jar -Djava.awt.headless=true -Xmx700m -Dkotlin.environment.keepalive org.jetbrains.kotlin.daemon.KotlinCompileDaemon --daemon-runFilesPath C:\Users\Саша и Аня\AppData\Local\kotlin\daemon --daemon-autoshutdownIdleSeconds=7200 --daemon-verbose --daemon-compilerClasspath C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.2\plugins\Kotlin\kotlinc\lib\kotlin-compiler.jar
Information:Kotlin: [daemon] C:\Users\���� � ���\AppData\Local\kotlin\daemon
But daemon is still inacessible:
Information:Kotlin: Falling back to compilation without daemon due to error: [daemon client] java.lang.Exception: Unable to get response from daemon in 10000 ms
“���� � ���” is username in Ciryllic - but it seeems that it is not a problem (this is incorrect output only).
I have tried to copy command from “starting the daemon as:” in cmd. Command can not be executed because quotes in file names are absent. Once quotes have been added, the deamon started (from
cmd). Then I have tried to rebuild project. OK:
Information:Kotlin: [daemon client] found daemon on port 17741, trying to connect
Information:Kotlin: [daemon client] connected to the daemon
Start from IDE still is impossible.
Anyway, thanks a lot for help. At the least I can build with daemon started independently
Can you suggest how can I fix IDE build?