IntelliJ IDEA错误:找不到vm选项文件 [英] IntelliJ IDEA error: cannot find vm options file
本文介绍了IntelliJ IDEA错误:找不到vm选项文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试启动IntelliJ IDEA,但弹出以下错误:
I'm trying to launch IntelliJ IDEA but the following error pops up:
找不到虚拟机选项文件
Cannot find vm options file
推荐答案
显式解决方案是设置一个名为 $ IDEA_VM_OPTION
的环境变量:
The explicit solution is to set an environment variable named $IDEA_VM_OPTION
:
export IDEA_VM_OPTION="[path-to-'.vmoptions' file]"
搜索idea.sh文件:
Search in the file idea.sh:
grep -ri "vmoption" ./bin/idea.sh
您将看到 .vmoptions
文件的搜索路径为:
You will see that the search path for .vmoptions
file is either:
$HOME/.IntelliJIdea2016.2/idea$BITS.vmoptions
或
$IDE_BIN_HOME/idea$BITS.vmoptions
因此,如果安装了64位JVM,则将文件 bin/idea64.vmoptions
复制到上述位置之一,否则将文件 bin/idea.vmoptions
复制到其他位置.
So, copy file bin/idea64.vmoptions
into one of above locations if you have 64 bit JVM installed or file bin/idea.vmoptions
else.
这篇关于IntelliJ IDEA错误:找不到vm选项文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文