[英]OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=350m;
When I'mtrying to open Intellij IDE using command line in linux like this ./phpstorm.sh
both android studio and PHPStorm I always got this message : 我正在尝试使用Linux中的命令行打开Intellij IDE,就像这个
./phpstorm.sh
android studio和PHPStorm我总是收到这样的消息:
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=350m;
OpenJDK 64位服务器VM警告:忽略选项MaxPermSize = 350m; support was removed in 8.0
支持在8.0中删除
and I was wondering if google find solution here but I was kinda lost here since I'm newbie in ubuntu 14.04. 我想知道谷歌是否在这里找到了解决方案,但是因为我是ubuntu 14.04的新手,我有点迷失。 my question is what is the cause of this message to diplay?
我的问题是这个消息的原因是什么? and how to resolve this?
以及如何解决这个问题?
I've tried using this command export MAVEN_OPTS="-Xmx512m"
but it's not resolve the issue. 我已尝试使用此命令
export MAVEN_OPTS="-Xmx512m"
但它无法解决问题。 and I'm using java 1.8.0_73
downloaded from here . 我正在使用从这里下载的
java 1.8.0_73
。 any useful help would be appreciated, thank you. 任何有用的帮助将不胜感激,谢谢。
The IDEs try to set MaxPermSize in case the are run under java 7. The parameter was removed in java 8, so it is ignored. 如果在java 7下运行,IDE会尝试设置MaxPermSize。参数在java 8中被删除,因此会被忽略。
For further information see What does -XX:MaxPermSize do? 有关详细信息,请参阅-XX:MaxPermSize做什么?
This is only a warning saying the option has been ignored - so it should not cause any issues. 这只是一个警告,说该选项已被忽略 - 所以它不应该导致任何问题。
The JVM options should be located in {IntelliJ folder}/bin/idea64.exe.vmoptions (on windows - probably something similar on linux). JVM选项应该位于{IntelliJ文件夹} /bin/idea64.exe.vmoptions(在Windows上 - 可能类似于linux上的类似)。 You can edit that file and delete the maxpermsize option.
您可以编辑该文件并删除maxpermsize选项。
对我来说,我通过将_JAVA_OPTIONS:-Xmx6G添加到环境变量Windows 8.1 java version 1.7.0_79来修复同样的问题
如果你用android studio使用phonegap得到这个错误,那么只需从android工作室退出并重启android studio一段时间它的工作在我的情况下
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.