下载后解压到/opt 目录下
tar -zxvf eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz -C /opt/opt 表示解压到/opt目录下,加了-C,后面要添加路径
eclipse与/usr之间有空格
vim /usr/share/applications/eclipse.desktop
[Desktop Entry]Encoding=UTF-8Name=Eclipse 4.4.1Comment=Eclipse LunaExec=/usr/bin/eclipseIcon=/opt/eclipse/icon.xpmCategories=Application;Development;Java;IDEVersion=1.0Type=ApplicationTerminal=0新闻热点
疑难解答