アットウィキロゴ

Linuxでeclipse

環境を整えてみる

うちの環境はwinではなくてLinux(ubunts)なので、まずは環境面から。

eclipse&pleiades

事前に、eclipseとpleiadesをインストールしておこう。
eclipseの方はソフトウェアセンタとかからインストールできるが、
pleiadesの方はsynpaticとかを利用してインストールする。
pleiadesはeclipseに勝手に組み込まれるかとおもいきや、全然なんにもしてくれないので
synpaticでプロパティからインストール先を探したらこんなところにいた

$ ls /usr/share/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/
META-INF    about.ini         conf          featureImage.png  plugin.properties
about.html  about.properties  epl-v10.html  pleiades.jar      plugin.xml

んでeclipse.iniはどこにいるかというと、/etcの直下にいらっしゃるので、おざなりに書き換えてしまった。

$ sudo vi /etc/eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.dist
#-showsplash
#org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms40m
-Xmx384m
-javaagent:/usr/share/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins

showsplashあたりをコメントアウトするのは、好みの問題。
pleiadesの設定を足した行がココなのは、viで最後の行をたす操作を忘れたから。
本来はきっと、エイリアスを作ったり、homeに起動shを作ったりして対処するのかな。きっとetcの下はいじってはいけないに違いない。

とりあえずこれで、開発環境を日本語化成功。あとはeclipse上で必要なプラグインを入れてしまう。
なお、aptでもeclipseプラグインがあったりするので、そっちにあるものは、aptでもってきたほうが良いかもしれない。
最終更新:2013年08月07日 13:01