Eclipse 安装配置指南
安裝Eclipse
安裝Subclipse
配置Android
?
一、Eclipse的安裝。
1、安裝JDK6
下載JDK并進(jìn)行安裝?http://www.oracle.com/technetwork/java/javase/downloads/index.html
當(dāng)前最新版本為jdk-6u22
2、下載安裝 Eclipse Classic
地址:?http://www.eclipse.org/downloads/
當(dāng)前最新版本為 eclipse-SDK-3.6.1-win32-x86_64.zip
把解壓文件到D:\Developer\eclipse目錄
?
二、常用插件安裝
1、安裝 The Eclipse Project Updates
Help --> Install New Software --> The Eclipse Project Updates --> 選擇安裝項(xiàng)
?
2、安裝?helios?支持組件。
Help --> Install New Software --> Work with: Helios - http://download.eclipse.org/releases/helios
--> Programming Languages --> C/C++ Development Tools
JavaScript Development Tools
PHP Development Tools(PDT) SKD Feature
......
--> General Purpose Tools --> Marketplace Client //這是一個(gè)類(lèi)擬于AppStore的軟件超市
通過(guò)Markeplace Client可以更加輕松的安裝組件到Eclipse平臺(tái)上
參考:Eclipse Helios 之旅
?
3、安裝Subversion
Install Subclipse in Eclipse 3.x
3.1、如果你的主機(jī)不能訪問(wèn)到http://subclipse.tigris.org?網(wǎng)站,請(qǐng)?zhí)砑右粭lhost記錄:
204.16.104.146 subclipse.tigris.org
3.2、添加一個(gè)新的Repository。
Name: Subclipse 1.6.x (Eclipse 3.2+)
URL:? http://subclipse.tigris.org/update_1.6.x
3.3、選擇Subclipse --> 安裝
3.4、添加一個(gè)Repository Location
打開(kāi)SVN Repository Exploring --> New --> Repository Location
注意:可能需要安裝JavaHL?,在64bit系統(tǒng)下需要下載SlikSVN
注意:可能需要修改文件編碼格式:window->General->workspace->Text file encoding 默認(rèn)為GBK,可以設(shè)置成UTF-8
?
4、安裝GAE開(kāi)發(fā)環(huán)境
可以通過(guò)Marketplace安裝Google Plugin for Eclipse,可以安裝如下組件:
Google App Engine Java SDK 1.4.0
Goolge Plugin for Eclipse 3.6
Google Web Toolkit SDK 2.1.1
未完....
附加參考:
Google Plugin for Eclipse
配置 Windows 版 Eclipse 以便與 Google App Engine 配合使用
?
5、安裝Python開(kāi)發(fā)環(huán)境
# 安裝新版本Python,目前版本有2.7.1和3.1.3,這兩個(gè)版本是不兼容的。
# 通過(guò)Marketplace安裝Pydev - Python IDE for Eclipse
?
三、Andorid 開(kāi)發(fā)環(huán)境
1、下載最新的Android SDK, 并安裝,配置系統(tǒng)的Path變量
官方網(wǎng)站好像需要翻墻才能訪問(wèn),下載當(dāng)前最新版本:installer_r09-windows.exe
安裝完SDK包后,啟動(dòng)"SDK Manager.exe",進(jìn)入真正的下載頁(yè),下載成功后把如下配置添加到環(huán)境變量Path中.
C:\Program Files (x86)\Android\android-sdk-windows\tools
參考:
| Windows | android-sdk_r09-windows.zip | 32779808 bytes | 1a1bb8fad80bcc2dfbd00443b9a13e6b |
| installer_r09-windows.exe?(Recommended) | 32828818 bytes | a0185701ac0d635a4fbf8169ac949a3c5b3d31e0 | |
| Mac OS X (intel) | android-sdk_r09-mac_x86.zip | 28829553 bytes | ef3102fdbbbbd9bf4d9b572624aa9dc1 |
| Linux (i386) | android-sdk_r09-linux_x86.tgz | 26917824 bytes | 9fefac5ff85d329836439f6e77a78cae |
官方的一下安裝向?qū)?#xff1a;?Installing the SDK
Here's an overview of the steps you must follow to set up the Android SDK:
?? 1. Prepare your development computer and ensure it meets the system requirements.
?? 2. Install the SDK starter package from the table above.
(If you're on Windows, download the installer for help with the initial setup.)
?? 3. Install the ADT Plugin for Eclipse (if you'll be developing in Eclipse).
?? 4. Add Android platforms and other components to your SDK.
?? 5. Explore the contents of the Android SDK (optional).
?
2、ADT的安裝和配置
help --> Install New Software... --> Add...
--> Name: android
Location:??https://dl-ssl.google.com/android/eclipse/
--> 安裝Developer Tools
3、配置Android SDK 目錄
Window --> Preferences --> Android --> SDK Location --> 填寫(xiě)"android-sdk-windows"根目錄
"C:\Program Files (x86)\Android\android-sdk-windows\" --> Apply --> OK
接著:
Window --> Android SDK and AVD Manager --> 可以有3上選項(xiàng)
1、Virtual devices 虛擬設(shè)備,你可以創(chuàng)建一個(gè)開(kāi)發(fā)用到的虛擬設(shè)備,例如:
Name: Android2.2 Target: Android 2.2 - API Level 8
Name: Android2.3 Target: Android 2.3.1 - API Levle 9
2、Installed packages 你安裝過(guò)的包列表
3、Available packages 你的可更新列表
4、HelloWorld
參考:
http://www.cnblogs.com/gordonchao/archive/2011/01/26/1943643.html
總結(jié)
以上是生活随笔為你收集整理的Eclipse 安装配置指南的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Linux性能监测工具Nmon介绍及其使
- 下一篇: CentOS 6.5服务器安全加固及性能