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

(编辑:jimmy 日期: 2024/7/6 浏览:2)

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,发现一切正常,配置文件都在,注册也没有失效。

一句话新闻

微软与英特尔等合作伙伴联合定义“AI PC”:键盘需配有Copilot物理按键
几个月来,英特尔、微软、AMD和其它厂商都在共同推动“AI PC”的想法,朝着更多的AI功能迈进。在近日,英特尔在台北举行的开发者活动中,也宣布了关于AI PC加速计划、新的PC开发者计划和独立硬件供应商计划。
在此次发布会上,英特尔还发布了全新的全新的酷睿Ultra Meteor Lake NUC开发套件,以及联合微软等合作伙伴联合定义“AI PC”的定义标准。