1. Downloadeclipse tar package.
Download eclipse juno from eclipse's homepage to a folder.
2. Extract the tar package to /opt folder.
# tar -xvzf eclipse-jee-juno-SR1-linux-gtk.tar.gz -C /opt
Then eclipse directory will be in /opt. Give eclipse directory read permission if it is possible.
3. Create Eclipse executable on /usr/bin path
# touch /usr/bin/eclipse
# chmod 755 /usr/bin/eclipse
Open elcipse file with editor, then input the below item and save.
#!/bin/sh
export ECLIPSE_HOME="/opt/eclipse"
$ECLIPSE_HOME/eclipse $*
4. Create a desktop launcher.
Create eclipse.desktop file in/usr/share/applications/eclipse.desktop.
Add the following items in eclipse.desktopfile. Be careful there should be no backspace and new line
in these items.
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=EclipseSDK 4.2.1
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true5. Start eclipse.
You can open a terminal and input eclipse tostart eclipse.
Also you will find an eclipse icon inprogramming list.
Then add eclipse launcher to desktop.
本文介绍如何在Linux系统上安装Eclipse IDE。步骤包括下载Eclipse tar包、解压到指定文件夹、创建可执行文件及桌面快捷方式等。通过这些步骤,用户可以轻松地将Eclipse集成到他们的开发环境中。

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



