Manjaro - 20.2 - i3wm - 開発環境 Eclipse
- 1. 概要
- 2. インストール
- 3. 日本語化
- 4. 起動
1. 概要
開発環境として、「Eclipse」を使用します。
2. インストール
「openjdk」同根のパッケージをダウンロードして、インストールします。
「Eclipse」の手動インストールの手順については「Eclipse - Linux マシンへのインストール」をご参照ください。
3. 日本語化
はじめ、「unzip」がなくて失敗しました。
まず、「root」ユーザで
yes | pacman -S unzip
日本語化モジュールをダウンロードして、展開・コピーします。
/home/hogehoge/eclipse/eclipse
へインストールしたものとして、ログインユーザで
mkdir -pv /tmp/pleiades
curl http://ftp.jaist.ac.jp/pub/mergedoc/pleiades/build/stable/pleiades.zip --output /tmp/pleiades/pleiades.zip
cd /tmp/pleiades
unzip ./pleiades.zip
mkdir -pv /home/hogehoge/eclipse/eclipse/features
mkdir -pv /home/hogehoge/eclipse/eclipse/plugins
cp -pfR features/* /home/hogehoge/eclipse/eclipse/features/.
cp -pfR plugins/* /home/hogehoge/eclipse/eclipse/plugins/.
sh
cat << 'EOF' >> /home/hogehoge/eclipse/eclipse/eclipse.ini
-Xverify:none
-javaagent:/home/hogehoge/eclipse/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar
EOF
exit
メニューへ組み込みます。
「root」ユーザで
ln -s /home/hogehoge/eclipse/eclipse/eclipse /usr/local/bin/eclipse
ln -s /home/hogehoge/eclipse/eclipse/icon.xpm /usr/share/icons/default/icon.xpm
sh
cat << 'EOF' >> /usr/share/applications/eclipse.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Eclipse
Name[ja]=Eclipse
GenericName=Eclipse
GenericName[ja]=Eclipse
Comment=Eclipse
Comment[ja]=開発環境
Exec=eclipse
Icon=/usr/share/icons/default/icon.xpm
StartupNotify=false
Type=Application
Categories=Development;
EOF
exit
4. 起動
$mod+m →「開発」→「Eclipse」

「起動」
起動直後の状態です。
2020年12月9日の時点で、下記のバージョンでした。
|
|