2018年2月25日 星期日

安裝 Eclipse IDE for Java Developers version

安裝 Eclipse IDE for Java Developers version

下載 Eclipse IDE for Java Developers version

1. Download and Install Eclipse
#curl -O http://ftp.jaist.ac.jp/pub/eclipse/technology/epp/downloads/release/oxygen/1a/eclipse-java-oxygen-1a-linux-gtk-x86_64.tar.gz
# ll
-rw-r--r--. 1 root   root   186642081  2月 21 11:51 eclipse-java-oxygen-1a-linux-gtk-x86_64.tar.gz

Extract Eclipse package to your desired directory (Ex. /opt).
# tar -zxvf eclipse-java-oxygen-1a-linux-gtk-x86_64.tar.gz -C /opt
# ll /opt
drwxr-xr-x. 8 root root 4096 10月 10 08:21 eclipse

Symlink Eclipse executable to /usr/bin path.
#ln -s /opt/eclipse/eclipse /usr/bin/eclipse
#ll /opt/eclipse/eclipse
-rwxr-xr-x. 1 root root 71473 10月  9 18:00 /opt/eclipse/eclipse



2. Setup Launcher
Create Gnome launcher.

#vi /usr/share/applications/eclipse-4.7.desktop
Place the following content in the above file.

[Desktop Entry]
Encoding=UTF-8
Name=Eclipse 4.7
Comment=Eclipse Oxygen
Exec=/usr/bin/eclipse
Icon=/opt/eclipse/icon.xpm
Categories=Application;Development;Java;IDE
Version=1.0
Type=Application
Terminal=0

沒有留言:

張貼留言

在Android Studio中安裝OpenCV SDK

1. 安裝 Cmake (編譯工具), NDK (環境), LLDB (調試器)