歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu 添加Eclipse應用

Ubuntu 添加Eclipse應用

日期:2017/2/28 16:02:57   编辑:Linux教程

Ubuntu中安裝好了Eclipse,怎麼將他添加到應用程序中呢?

這麼做:

在終端中敲入:sudo gedit /usr/share/applications/Eclipse.desktop

在打開的GEdit中輸入以下文本

[Desktop Entry]
Name=Eclipse
Comment=Eclipse 3.42 IDE
Exec=/usr/java/eclipse/eclipse <— 這裡改成你的eclipse的安裝位置
Icon=/usr/java/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=Application;Development;

關閉保存,這樣就在應用程序中添加了一個叫編程的子菜單,裡面就有我的Eclipse

Copyright © Linux教程網 All Rights Reserved