1. 程式人生 > >ubuntu16.04安裝eclipse

ubuntu16.04安裝eclipse

1:下載eclipse

http://www.eclipse.org/downloads/index-developer.php

2:解壓檔案

tar -zxvf eclipse-cpp-oxygen-3a-linux-gtk-x86_64.tar.gz

3:啟動eclipse

解壓目錄下手動執行./eclipse.sh

4:建立啟動快捷方式

sudo gedit /usr/share/applications/eclipse.desktop
內容如下:
[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=/home/ruanxw/eclipse/icon.xpm //啟動圖示目錄,就在解壓的可執行程式目錄下
Exec=/home/ruanxw/eclipse/eclipse //啟動程式所在目錄,就在解壓的目錄下
Terminal=false

Categories=Development;IDE;Java;

5:儲存檔案,重啟電腦,即可在開始搜尋快速啟動eclipse