How to install Eclipse 4.2 on Ubuntu 12.10 -- amd64

How to install Eclipse 4.2 on Ubuntu 12.10 -- amd64

I made it following these steps in a post on "askubuntu"~ Fairly clear~

*****************************The original post (with some modification)******************************

Because Eclipse packages in Ubuntu are out of date. If we want to install last releases we are going to do it manually. You can just download the tar.gz file from eclipse.org.

1) Download Eclipse. I got eclipse-jee-juno-SR2-linux-gtk-x86_64.tar.gz

2) Extract it by executing a command line

tar -xzf eclipse-jee-juno-SR2-linux-gtk-x86_64.tar.gz

Or with Archive Manager extraction.

3) Move extracted eclipse folder to /opt/ folder

mv eclipse /opt/ 
sudo chown -R root:root eclipse 
sudo chmod -R +r eclipse

4) Create an eclipse executable in your user path

sudo touch /usr/bin/eclipse 
sudo chmod 755 /usr/bin/eclipse

Create a file named eclipse in /usr/bin/ with your preferred editor (nanogeditvi...)

Copy this into it

#!/bin/sh 
export ECLIPSE_HOME="/opt/eclipse" 
$ECLIPSE_HOME/eclipse $*

And save the file

5) Create a Gnome menu item

Create a file named eclipse.desktop in /usr/share/applications/ with your preferred editor (nano,geditvi...)

Copy this into it

[Desktop Entry] Encoding=UTF-8 Name=Eclipse Comment=Eclipse IDE Exec=eclipse Icon=/opt/eclipse/icon.xpm Terminal=false Type=ApplicationCategories=GNOME;Application;Development; StartupNotify=true

And save the file

6) Launch Eclipse

/opt/eclipse/eclipse -clean &

7) Now you can Lock Eclipse to the launcher bar by clicking right button on Lock to Laucher

 

Source from: http://askubuntu.com/questions/26632/how-to-install-eclipse

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值