How to install eclipse on linux


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=true


5. 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.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值