有关将idea的系统配置文件移到其它盘激活失效的问题

2022-07-28,,,,

1. 系统盘清理说明

win7 80g的系统盘,随着使用时间的增加,空间越来越小,只剩不到2g,随计划清理系统盘数据
1. maven 下载的jar移动到其它盘,这个比较简单,这里不做说明
   修改maven settings.xml文件目录根据需要修改,<localrepository>d:/m2_repo/repository</localrepository>
2. idea 2019.3,c:\users\用户名\.intellijidea2019.3目录占3.4g,移到其他盘符后发现注册失效

2. idea 注册失效解决

关闭所有idea应用

2.1 修改idea安装目录配置文件

修改安装目录idea 安装目录配置文件,bin/idea.properties,目的目录根据需要修改

# idea.config.path=${user.home}/.intellijidea/config
idea.config.path=d:/idea_config/.intellijidea2019.3/config

#---------------------------------------------------------------------
# uncomment this option if you want to customize path to ide system folder. make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.system.path=${user.home}/.intellijidea/system
idea.system.path=d:/idea_config/.intellijidea2019.3/system

#---------------------------------------------------------------------
# uncomment this option if you want to customize path to user installed plugins folder. make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.plugins.path=${idea.config.path}/plugins
idea.plugins.path=d:/idea_config/.intellijidea2019.3/plugins

#---------------------------------------------------------------------
# uncomment this option if you want to customize path to ide logs folder. make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.log.path=${idea.system.path}/log
idea.log.path=d:/idea_config/.intellijidea2019.3/log

2.2 删除系统盘多余的文件

这个目录和文件保留,其它文件和目录全部删除
c:\users\用户名\.intellijidea2019.3\config\idea64.exe.vmoptions

2.3 打开 idea 测试

打开idea,发现一切正常,配置文件都在,注册也没有失效。

到此这篇关于有关将idea的系统配置文件移到其它盘激活失效的问题的文章就介绍到这了,更多相关idea配置文件移到其它盘激活失效内容请搜索以前的文章或继续浏览下面的相关文章希望大家以后多多支持!

《有关将idea的系统配置文件移到其它盘激活失效的问题.doc》

下载本文的Word格式文档,以方便收藏与打印。