いっぽんの猟銃のむこうに (DAIZOじいさんとGun)

ヌルめの技術メモとか。フリーランスやってます (http://acez.jp/)

Mac版 Eclipse4.2の日本語化手順

なんかうまくいかないなーと思ったらFinderで作業しててファイルのコピペミスってたというオチ。やり方自体はちゃんとやれば超簡単。

■用意するもの
Eclipse 4.2 (お好みで。今回はJava屋さんっぽくJ2EE版を利用)
・Pleiades 本体(最新版。今回は1.3.4)

■手順

1. EclipseとPleiadesをブラウザでダウンロード

2. ダウンロードフォルダに移動、解凍

$ cd ~/Downloads
$ tar xzvf eclipse-jee-juno-macosx-cocoa-x86_64.tar.gz
$ mkdir pleiades                            # 解凍用ディレクトリ作り
$ unzip pleiades_1.3.4.zip -d pleiades/ 
$ ls
eclipse pleiades

3. プラグインを突っ込む

$ cp -a pleiades/* eclipse/                 # featureとかpluginsとかコピー 
$ ls eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar  # 確認
eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar

4. eclipse.iniを書き換える

$ vi eclipse/Eclipse.app/Contents/MacOS/eclipse.ini
----
(末尾に追加)
-javaagent:../../../plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar
----

5. 適当な場所(ここでは/Applications)に配置し起動

$ mv eclipse /Applications/eclipse4.2j2ee/    # ついでにリネームしておいた
$ cd /Applications/eclipse4.2j2ee/
$ ./eclipse -clean

以上です。注意点としては……Eclipse、クッソ重いってとこですかね……