Linux 下安裝配置 Eclipse

來源:互聯網
上載者:User

標籤:des   blog   http   io   ar   sp   java   檔案   on   

 

  一些同學可能想在linux下開發Java程式,今天我給大家帶來的是如何安裝和配置Eclipse。

  我實在Ubuntu12.04 Lts 64bit下安裝的。

  1.下載下來Eclipse的所對應的Linux安裝包,注意是64bit還是32bit。( : http://www.eclipse.org/downloads/ )

  2.進入到下載檔案夾中,找到eclipse的安裝包,用解壓命令解壓,並修改其許可權。  

 

         $ sudo tar -zxvf eclipse*.tar.gz              $ sudo chmod 777 -R eclipse

 

  3.解壓出來的eclipse檔案夾Copy到 /usr/local/ 目錄下

         $ sudo cp -r eclipse /usr/local

   4.建立案頭捷徑,在案頭建立個新文檔,命名為 eclipse.desktop,然後雙擊,嗯?打不開?這就對了,案頭上右鍵終端,輸入命令

         $ sudo gedit eclipse.desktop

    然後把下面一段代碼複製進去

 

[Desktop Entry]Encoding=UTF-8Name=EclipseComment=Eclipse IDEExec=/usr/local/eclipse/eclipseIcon=/usr/local/eclipse/icon.xpmTerminal=false StartupNotify=trueType=ApplicationCategories=Application;Development; 

   

  然後ctrl+s儲存。

  是不是發現案頭多了你所要得Eclipse的表徵圖,好吧,雙擊表徵圖試試,是不是開啟了?好吧,任務結束。

 

 

Linux 下安裝配置 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.