UbuntuでのEclipse再インストール
UbuntuでのEclipse再インストール
Ubuntu13.10から14.01にアップグレードするとあるJavaのプロジェクトが動かなくなったのでEclipseを再インストールした。
そのときのメモ。
下記手順でアンインストール。
$ sudo apt-get purge eclipse* $ sudo apt-get autoremove $ sudo rm -rf /usr/lib/eclipse $ sudo rm /etc/eclipse.ini $ rm -rf ~/.eclipse
`sudo rm -rf /usr/lib/eclipse`を飛ばすとEclipse立ち上げた後の新規ソフトウェアのインストールでコケた。
アンインストールが完了したら下記手順でインストール。
$ sudo apt-get install pleiades $ vim /etc/eclipse.ini ※末尾に下記の1行を追記 -javaagent:/usr/share/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar $ eclipse -clean & ※編集完了後に一度-cleanオプションを付加してEclipseを起動。以降は-cleanオプションは不要。