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

作者:sdcxlgb 时间:2022-02-16 09:33:37 

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

来源:https://blog.csdn.net/sdcxlgb/article/details/108734913

标签:idea,激活失效
0
投稿

猜你喜欢

  • Python中几种导入模块的方式总结

    2021-09-20 08:17:14
  • 对python csv模块配置分隔符和引用符详解

    2023-04-14 13:52:20
  • 如何在pycharm中快捷安装pip命令(如pygame)

    2023-02-26 14:53:25
  • 在tensorflow中实现屏蔽输出的log信息

    2023-02-27 17:41:21
  • python中的plt.cm.Paired用法说明

    2021-07-12 17:27:05
  • python并发编程多进程之守护进程原理解析

    2023-09-13 14:07:42
  • Mac包管理器Homebrew的安装方法

    2023-02-16 06:20:19
  • Python命令行解析器argparse详解

    2023-06-14 01:08:14
  • Python 编码处理-str与Unicode的区别

    2021-04-15 15:38:43
  • python如何定义带参数的装饰器

    2022-01-07 04:18:30
  • 提高CSS代码的可读性

    2008-05-11 18:59:00
  • Python中矩阵库Numpy基本操作详解

    2021-07-09 18:13:05
  • 浅谈pandas关于查看库或依赖库版本的API原理

    2023-10-14 04:54:13
  • javascript数组取交集

    2010-07-15 12:14:00
  • Python使用函数默认值实现函数静态变量的方法

    2023-03-11 16:54:46
  • 详解将Django部署到Centos7全攻略

    2022-03-23 01:01:12
  • 用Python实现一本个性化日历

    2021-02-11 08:59:44
  • ASP小偷(远程数据获取)程序的入门教程

    2007-09-21 12:48:00
  • python函数默认参数使用避坑指南

    2023-06-19 13:37:50
  • python异常处理try except过程解析

    2021-06-23 14:53:29
  • asp之家 网络编程 m.aspxhome.com