Linux Shell環境手動安裝Eclipse

來源:互聯網
上載者:User

Linux Shell環境手動安裝Eclipse

PC環境:CentOS 6.5

Eclipse版本: eclipse-jee-kepler-SR2-linux-gtk-x86_64.tar.gz

(; http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/SR2/eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz) 

假定已安裝完成JDK,下面介紹安裝步驟。

1. 利用su切換到root模式或在以下每個命令前加上sudo.

2. 解壓eclipse

    tar -xvzf eclipse-jee-kepler-SR2-linux-gtk-x86_64.tar.gz-C /opt

    說明:(1)待解壓檔案名稱根據下載版本變化;(2)利用 -C 將目標地址切換為  /opt , 目標地址可自由變換,但推薦為/opt

3. 更換當前路徑

    cd /opt

4. 更改eclipse相關許可權

    chmod -R +r /opt/eclipse

    touch /usr/bin/eclipse

    chmod 755 /usr/bin/eclipse

5. 添加從shell啟動的指令碼

    vi /usr/bin/eclipse

將下面內容寫入到檔案中並儲存

  #!/bin/sh

  export ECLIPSE_HOME="/opt/eclipse" 

  $ECLIPSE_HOME/eclipse $*

6. 配置結束,可在shell端輸入eclipse命令啟動程式,並設定工作空間。

Ubuntu 14.04 LTS安裝Java 8和Eclipse 4.4 

Hadoop Eclipse 外掛程式編譯安裝1.2.0

Hadoop在Eclipse中的外掛程式編譯

Hadoop 1.2.1編譯Eclipse外掛程式

Ubuntu 13.10安裝JDK、Eclipse for C/C++(解決全域菜單問題)

如何在Ubuntu 14.04中安裝最新版Eclipse 

本文永久更新連結地址:

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.