[url=http://idroot.net/tutorials/how-to-install-eclipse-luna-on-centos-7/]centOs install eclipse & create Desktop[/url]
following is the content of eclipse.desktop
by the way note some about [sodo] command:
# visodo
then find "root ALL = (ALL)"
copy it new a line "yourusername ALL = (ALL)"
then you can use sudo,
but somehow is not a profit way grant all to ..
tar -zxvf eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz -C /opt
ln -s /opt/eclipse/eclipse /usr/bin/eclipse
vi /usr/share/applications/eclipse.desktopfollowing is the content of eclipse.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse 4.4.1
Comment=Eclipse Luna
Exec=/usr/bin/eclipse
Icon=/opt/eclipse/icon.xpm
Categories=Application;Development;Java;IDE
Version=1.0
Type=Application
Terminal=0by the way note some about [sodo] command:
# visodo
then find "root ALL = (ALL)"
copy it new a line "yourusername ALL = (ALL)"
then you can use sudo,
but somehow is not a profit way grant all to ..
本文介绍如何在CentOS 7上安装Eclipse Luna,并创建桌面快捷方式。通过解压tar文件并设置符号链接,使得用户可以通过桌面图标启动Eclipse。此外,还涉及了如何使用sudo命令及对用户权限进行必要配置。
1718

被折叠的 条评论
为什么被折叠?



