JetBrains IntelliJ错误启动Intellij平台 - 调用main方法时出错 [英] JetBrains IntelliJ Error launching Intellij Platform - Error invoking main method

查看:920
本文介绍了JetBrains IntelliJ错误启动Intellij平台 - 调用main方法时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了IntelliJ IDEA和其他JetBrains产品并且它们工作得很好(PyCharm,Android Studio,Clion,WebStorm)直到今天,现在我只是打开消息:

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:


启动Intellij平台时出错 - 调用main方法时出错

Error launching Intellij Platform - Error invoking main method

我安装了:


C:\Program Files\Java\jdk1.8.0_25

C:\Program Files\Java\jdk1.8.0_25

C:\ Program Files\Java\jre1.8.0_25

C:\Program Files\Java\jre1.8.0_25

和JAVA_HOME指向jdk。

and JAVA_HOME is pointing to jdk.

我发布于: https://devnet.jetbrains.com/message/5533036 #5533036 https://devnet.jetbrains.com/thread/459951

我安装(干净)Windows 8.1现在它可以工作了,但应该有选项从Windows擦除所有java配置避免这样的混乱,因为这不是解决方案。

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.

推荐答案

我今天遇到这个错误。当我使用AndroidStudio时,Java更新消息会跳出来。我接受了,但我的AS在安装后无法显示res文件。我重启AS并看到错误。
我猜新版本java会产生错误。更新的java部分是jre,版本是1.8.0_101,但jdk的版本仍然是1.8.0_92。所以我下载并安装新版本jdk(1.8.0_101,与jre相同)。
AndroidStudio现已成功启动。
也许这个解决方案也适用于IDEA。

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.

这篇关于JetBrains IntelliJ错误启动Intellij平台 - 调用main方法时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆