安装idea注意事项-缓存放置-jar包存放
安装idea注意事项-修改缓存位置
下载安装完成idea后,要将缓存以及jar包等信息放在D盘,以免占用过多C盘内存空间。
idea安装位置:D:\Program Files\JetBrains\IntelliJ IDEA 2023.3.2\bin
找到idea.properties文件
在相应的D盘目录下创建文件夹,并修改该文件为:
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the settings directory.
#---------------------------------------------------------------------
idea.config.path=D:/ideaRelation/.IntelliJIdea/config
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the caches directory.
#---------------------------------------------------------------------
idea.system.path=D:/ideaRelation/.IntelliJIdea/system
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the user-installed plugins directory.
#---------------------------------------------------------------------
# idea.plugins.path=${idea.config.path}/plugins
idea.plugins.path=D:/ideaRelation/.IntelliJIdea/config/plugins
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the logs directory.
#---------------------------------------------------------------------
# idea.log.path=${idea.system.path}/log
idea.log.path=D:/ideaRelation/.IntelliJIdea/system/log
这样缓存、插件将放在上述文件夹路径中。
安装idea注意事项-修改jar包放置位置
idea-file-setting,搜索maven:
修改如下路径(相应路径已经下载好了maven包):
点击apply,ok。
将setting.xml文件中修改jar包存放的位置:
D:\ideaRelation\maven\repository
这个时候可以将c盘下的:C:\Users\xxx.m2 文件夹下面的repository文件给删除了。