LoginSignup
44

More than 5 years have passed since last update.

macでJava開発環境構築 Eclipse編

Last updated at Posted at 2015-06-13
  1. Eclipseダウンロード
    https://eclipse.org/downloads/
    Mac OS X 64 Bit のやつ
    Eclipse IDE for Java EE Developers
    ※2015/06/14現在 Eclipse Luna SR2 (4.4.2)
    ダウンロードしたらファイルを解凍して適当な場所に移動

  2. Eclipse All in Oneダウンロード
    http://mergedoc.osdn.jp/
    64bit Standard Edition Java をダウンロード

  3. pleiadesのフォルダを展開していくとpleiades/eclipse/dropins/MergeDocというフォルダがあるので、これをeclipse本体の方のeclipse/dropinsフォルダの下にコピー

  4. eclipse.iniの編集
    eclipse本体のEclipse.appの上で右クリックしてメニューを表示⇒「パッケージの内容を表示」をクリック
    最下行に下記を追加して保存

eclipse.ini
-Dfile.encoding=UTF-8
-javaagent:../../../dropins/MergeDoc/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar

 
5. Eclipseを開いてみる
Eclipse.appをクリック
または

ターミナル
$ cd /Applications/eclipse
$ Eclipse.app/Contents/MacOS/eclipse -clean -clearPersistedState

を実行
“eclipse”は、開発元が未確認のため開けません。
システム環境設定>一般タグ>このまま開く


6. JStyle改行プラグイン
http://osdn.jp/projects/mergedoc/releases/p12531
jstyle_4.4.2.0-64bit.zip
インストール方法はダウンロードしたファイルに含まれているabout.htmlを参照

macは使えなかった


7. subversion
ヘルプ>マーケットプレイス>subversionで検索
Subclipseをインストール


8. Eclipse Color Theme
ヘルプ>マーケットプレイス>Eclipse Color Themeで検索
Eclipse Color Themeをインストール
http://eclipsecolorthemes.org/
好きなテーマをダウンロード(おすすめはlight eclipse)
適用 一般>外観>色テーマ


9. Findbug
ヘルプ>マーケットプレイス>Findbugで検索
Findbugをインストール


10. Checkstyle
ヘルプ>新規ソフトウェアのインストール
http://eclipse-cs.sf.net/update/
インストール


11.JadClipse
ヘルプ>新規ソフトウェアのインストール
http://feeling.sourceforge.net/update
インストール


12.Eclipse Runner
ヘルプ>新規ソフトウェアのインストール
http://eclipserunnerplugin.googlecode.com/svn/trunk/EclipseRunnerSite
インストール

以下、参考にしたサイト

http://www.utano.jp/entry/2014/01/eclipse_japanese_localization_for_mac
http://qiita.com/deonathg/items/b544e824e7c5461d2ad2
http://qiita.com/chosan211/items/2b375202c598e8e55c4d

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
44