Skip to content
Advertisement

JetBrains IntelliJ Error launching Intellij Platform – Error invoking main method

I have IntelliJ IDEA and other JetBrains products installed and they worked great (PyCharm, Android Studio, Clion, WebStorm) till today, now I just get opening message:

Error launching Intellij Platform – Error invoking main method

I have installed:

C:Program FilesJavajdk1.8.0_25

C:Program FilesJavajre1.8.0_25

and JAVA_HOME is pointing to jdk.

I posted at: https://devnet.jetbrains.com/message/5533036#5533036 and https://devnet.jetbrains.com/thread/459951


I installed (clean) Windows 8.1 and now it works, but there should be option to wipe all java configs from Windows to avoid such mess, cause this is not the solution.

Advertisement

Answer

I meet this error today. Java update message jump out when I work with AndroidStudio. I accept it but my AS can’t display res files after installation. I restart AS and see the error. I guess new version java produce the error. The updated java part is jre, version is 1.8.0_101, but jdk’s version is still 1.8.0_92. So I download and install new version jdk(1.8.0_101, the same as jre). AndroidStudio successfully starts now. Maybe this solution can also work to IDEA.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement