Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 Files\Java\jdk1.8.0_25

C:\Program Files\Java\jre1.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.

like image 570
fpopic Avatar asked Dec 12 '25 11:12

fpopic


1 Answers

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.

like image 172
Moyo.Shen Avatar answered Dec 14 '25 01:12

Moyo.Shen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!