溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

移動idea系統(tǒng)配置文件時激活失效怎么解決

發(fā)布時間:2020-11-07 14:31:07 來源:億速云 閱讀:231 作者:Leah 欄目:開發(fā)技術(shù)

本篇文章為大家展示了移動idea系統(tǒng)配置文件時激活失效怎么解決,內(nèi)容簡明扼要并且容易理解,絕對能使你眼前一亮,通過這篇文章的詳細介紹希望你能有所收獲。

1. 系統(tǒng)盤清理說明

win7 80G的系統(tǒng)盤,隨著使用時間的增加,空間越來越小,只剩不到2G,隨計劃清理系統(tǒng)盤數(shù)據(jù)
1. maven 下載的jar移動到其它盤,這個比較簡單,這里不做說明
   修改maven settings.xml文件目錄根據(jù)需要修改,<localRepository>D:/m2_repo/repository</localRepository>
2. idea 2019.3,C:\Users\用戶名\.IntelliJIdea2019.3目錄占3.4G,移到其他盤符后發(fā)現(xiàn)注冊失效

2. idea 注冊失效解決

關(guān)閉所有idea應(yīng)用

2.1 修改idea安裝目錄配置文件

修改安裝目錄idea 安裝目錄配置文件,bin/idea.properties,目的目錄根據(jù)需要修改

# 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 刪除系統(tǒng)盤多余的文件

這個目錄和文件保留,其它文件和目錄全部刪除
C:\Users\用戶名\.IntelliJIdea2019.3\config\idea64.exe.vmoptions

2.3 打開 idea 測試

打開idea,發(fā)現(xiàn)一切正常,配置文件都在,注冊也沒有失效。

上述內(nèi)容就是移動idea系統(tǒng)配置文件時激活失效怎么解決,你們學(xué)到知識或技能了嗎?如果還想學(xué)到更多技能或者豐富自己的知識儲備,歡迎關(guān)注億速云行業(yè)資訊頻道。

向AI問一下細節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI