Answer the question
In order to leave comments, you need to log in
How to fix error in IntelliJ IDEA 2016.3?
Updated IntelliJ IDEA to version 2016.3, errors rained down.
I commented out the line org.gradle.jvmargs=-Xmx1536m
in gradle.properties
, some of the errors were gone, but this one remained:
Gradle sync failed: The newly created daemon process has a different context than expected.
It won't be possible to reconnect to this daemon. Context mismatch:
Java home is different.
Wanted: DefaultDaemonContext[uid=null,javaHome=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2016.3\jre,daemonRegistryDir=C:\Users\Admin\.gradle\daemon,pid=5336,idleTimeout=null,daemonOpts= -XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1251,-Duser.country=RU,-Duser.language=ru,-Duser.variant]
Actual: DefaultDaemonContext[uid=5ba9202e-aef4-44bc-835a-0fe9eef55258,javaHome=C:\Java\jdk1.8.0_111,daemonRegistryDir=C:\Users\Admin\.gradle\daemon,pid=4928,idleTimeout=60000, daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1251,-Duser.country=RU,-Duser.language=ru,-Duser.variant]
Consult IDE log for more details (Help | Show Log)
Answer the question
In order to leave comments, you need to log in
Removing the jre directory from C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2016.3 helped, but I don't think it's the best option.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question