Eclipse Juno在ubuntud的安裝(SVN)

來源:互聯網
上載者:User
下載:
http://www.eclipse.org/downloads/?osType=linux

直接解壓後,移到 /usr/local/,直接運行即可。

————————————————————————————————————————————————————————————————————————

當下載完eclipse-rcp-juno-SR1-linux-gtk-x86_64.tar.gz這個後,直接右擊它點選extract here即可解壓。當解壓完後如果要把eclipse目錄複寫到/usr/local/eclipse(路徑最好不要有中文)下,只要執行:

 sudo cp -r Downloads/eclipse /opt/eclipse

或者sudo cp -r eclipse/ /opt/eclipse

如果不加-r,則會出現cp:omitting directory這個提示資訊。(如果要複製一個檔案夾,就要加上-r)

 附:http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/juno/SR1/eclipse-rcp-juno-SR1-linux-gtk.tar.gz

 

在啟動eclipse的時候有時會出現如下錯誤:

A Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No java virtual machine was found after searching the following locations:…

解決方案:

在終端進入eclipse目錄,然後輸入

sudo mkdir jre

cd jre

sudo ln -s /opt/jdk1.6.0.39/bin bin(/opt/jdk1.6.0.39為你的JDK目錄)

然後再執行就OK

 

如何在案頭上建立eclipse的捷徑?

方法如下:

在終端下輸入

1、

sudo gedit /usr/share/applications/eclipse.desktop

然後編輯該檔案,在該檔案中加入

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

Exec=/opt/eclipse/eclipse   這個是你的eclipse目錄位置
Icon=/opt/eclipse/icon.xpm  這個是你的eclipse表徵圖位置

2、給該檔案賦予許可權

sudo chmod u+x eclipse.desktop

3、然後開啟/usr/share/applications目錄 把eclipse表徵圖copy to desktop即可

 

我們可以將Eclipse表徵圖鎖定在側邊欄上,避免每次執行Eclipse時都必須再到Dash首頁進行搜尋。當Eclipse應用執行時,滑鼠右鍵單擊側邊欄上的Eclipse表徵圖,在彈出的菜單裡面選擇“鎖定到啟動器”,這樣就可以鎖定了。

 

小技巧:我們可以將eclipse.desktop檔案移動到/usr/local/development/eclipse-indigo-3.7.2目錄下,然後做一個符號鏈連結到/usr/share/applications,這樣做的好處是重裝系統時不用重做該檔案(我的系統/和/usr/local是兩個不同的分區)。

cd /usr/share/applicationssudo ln -s /usr/local/development/eclipse-indigo-3.7.2/eclipse.desktop

——————————————————————————————————————————————
eclipse juno的svn的安裝 剛剛下來最新的eclipse的版本juno,這個版本的預設介面看上去有點不太習慣,這個可以改,這裡我們介紹一下這個最新版本的SVN的安裝 

1.下載最新的這個版本的SVN 
http://www.eclipse.org/subversive/latest-releases.php 
實際的http://www.eclipse.org/downloads/download.php?file=/technology/subversive/1.0/builds/juno/Subversive-1.0.0.I20120601-1700.zip 

2.在eclipse雷根目錄裡,dropins裡建一個目錄,名字叫svn(這個名字隨便),再在svn下面建一個目錄eclipse.在根目錄裡建一個目錄links目錄,並建一個svn.link檔案,在裡邊寫上path = dropins/svn 

3.解壓下載的SVN包,把feature和plugins兩個檔案夾考進剛才建的svn/eclipse目錄裡 

4.還要下載subversive connector,這個是要和SVN一起用的,要找到適用自己系統的版本,:http://community.polarion.com/projects/subversive/download/eclipse/2.0/builds/ 
我的這個版本下的是http://community.polarion.com/projects/subversive/download/eclipse/2.0/builds/Subversive-connectors-2.3.0.I20120520-1700.zip 

5.解壓下載的connector,然後在eclipse的根目錄裡,就像上邊的裝SVN一樣的裝這個外掛程式,還是要建類似的目錄結構,名字可以隨便起,然後把解壓的feature和plugins兩個檔案夾考進建的目錄裡,還要記著添加link檔案,也和上面的類似。 

6.重啟eclipse,OK subeclipse可以用了。





~/nfc/libnfc-1.7.0-rc4/utils 調試:

LIBNFC_LOG_LEVEL=3 nfc-list

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.