Eclipse Juno在ubuntud的安装(SVN)
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圖標位置
對于kenpler版本,不出現菜單,做如下改動:
[Desktop Entry] Version=4.3.0 Name=Eclipse Comment=IDE for all seasons #Exec=/home/USERNAME/Dokument/eclipse/eclipse Exec=env UBUNTU_MENUPROXY=0 /home/USERNAME/Dokument/eclipse/eclipse Icon=/home/USERNAME/Dokument/eclipse/icon.xpm Terminal=false Type=Application Categories=Utility;ApplicationThe row?Exec=env UBUNTU_MENUPROXY=0 /home/USERNAME/Dokument/eclipse/eclipse, part referenced in the post I pointed to, is the one that makes menus visible, et voila! :)
In my case this file (eclipse.desktop) resides in?/usr/share/applications/
?
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/applications sudo 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
總結
以上是生活随笔為你收集整理的Eclipse Juno在ubuntud的安装(SVN)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Mac os android×××,环境
- 下一篇: 新装ubuntu10.04后的一些设置