環境
$ uname -a Linux 5.0.0-23-generic #24~18.04.1-Ubuntu SMP Mon Jul 29 16:12:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux $ cat /etc/os-release NAME="Ubuntu" VERSION="18.04.3 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.3 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic
はじめにSnapからEclipseをインストール・日本語化を試してみたが「読み込みが~」とエラーになってうまくいかなかった。
Eclipseのインストール
Eclipse Downloads | The Eclipse Foundationからダウンロード
解凍→インストール
/home/eclipse
にインストールされる
日本語化
ダウンロード→ファイルをコピー Eclipse 日本語化 | MergeDoc ProjectからLinux用をダウンロード
/home/ユーザ名/eclipse/java-2019-06/eclipse
に解答したファイルをまるっとコピーeclipse.iniの編集
-Xverify:none -javaagent:plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar
エラーが出る
!SESSION Wed Aug 07 10:32:05 JST 2019 ------------------------------------------ !ENTRY org.eclipse.equinox.launcher 4 0 2019-08-07 10:32:05.018 !MESSAGE Exception launching the Eclipse Platform: !STACK java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886) at java.awt.Toolkit.getEventQueue(Toolkit.java:1736) at java.awt.EventQueue.invokeLater(EventQueue.java:1294) at jp.sourceforge.mergedoc.pleiades.runtime.CleanMessage.show(CleanMessage.java:44) at jp.sourceforge.mergedoc.pleiades.runtime.LauncherEclipseTransformer.showCleanMessage(LauncherEclipseTransformer.java:271) at org.eclipse.equinox.launcher.Main.getSplashLocation(Main.java:2223) at org.eclipse.equinox.launcher.Main.handleSplash(Main.java:2151) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) at org.eclipse.equinox.launcher.Main.run(Main.java:1468) at org.eclipse.equinox.launcher.Main.main(Main.java:1441)
sudo sed -i -e '/^assistive_technologies=/s/^/#/' /etc/java-*-openjdk/accessibility.properties
このコマンドを実行
再度起動すると、無事日本語化できた