读好书,交益友
分类: Java
2013-03-27 21:09:01
从03年开始使用idea4开始,有10个年头了,idea一直有各种各样的bug,这次还是跌破眼镜。
下载idea 12.0.4,32位win7安装一切正常,64位win7 ,启动时,出现 c:\user\
重新安装后问题依旧,去idea论坛看了一把,确认是个bug。
只好修改idea安装目录,bin下面的idea.properties
将${user.home}换成自己想到的目录
# path to IDEA config folder. Make sure you're using forward slashes
idea.config.path=E:/Program Files/JetBrains/IdeaConfig/.IntelliJIdea90/config
# path to IDEA system folder. Make sure you're using forward slashes
idea.system.path=E:/Program Files/JetBrains/IdeaConfig/.IntelliJIdea90/system
# path to user installed plugins folder. Make sure you're using forward slashes
idea.plugins.path=E:/Program Files/JetBrains/IdeaConfig/.IntelliJIdea90/config/plugins
这样还有一个好处,就是idea的cache文件不占用c盘空间了。
也可以启动时,指定 set IDEA_PROPERTIES=c:\config\MyIntelliJ.properties
export IDEA_PROPERTIES=/home/anton/MyIntelliJ.properties