問題描述
我們想升級 Eclipse 到最新版本。
但是我們不想重新安裝,否則我們就要重新安裝插件、以及其他設置。
該筆記將記錄:在現有基礎上,升級 Eclipse 到最新版本的方法。
解決辦法
You first need to add the new release's repository as follows:
1)Window > Preferences > Install/Update > Available Software Sites
2)Click 'Add'
3)Enter the URL of the new repository (for example, http://download.eclipse.org/releases/2019-03/ )
如果想要使用其他的版本,參考:https://download.eclipse.org/releases/
如果想始終保持最新版本,使用:http://download.eclipse.org/releases/latest/
4)Click 'Ok'
5)Help > Check for Updates
如果發現更新,則可以進行更新。否則的話,閱讀錯誤信息並處理。
注意事項:
1)啟動屏幕可能會被緩存,即顯示舊版本的啟動界面;
2)並且在重新啟動 Eclipse 程序,也不一定會更新到最新版本;
3)執行“完全重新啟動”(退出,再啟動)可以顯示新版本號;
# 使用測試版本
原理和上面的方法一樣,但是要使用兩個URL地址,比如:
詳細內容參考官方文檔:「Beta-testing milestones and release candidates」
參考文獻