2011年8月31日 星期三

安裝 commapi 至Eclipse

 1. 複製 win32com.dll jdk目錄的bin
Copy win32com.dll to your \bin directory

2. 複製comm.jarjavax.comm.properties jdk\lib目錄的下
Copy comm.jar to your \lib directory
Copy javax.comm.properties to your \lib directory

3. 打開Eclipse 點選Project àPropertiesàJava Build Path 切換至Libraries頁面,按”Add External JARs…”鍵,新增選取加入jdk\lib目錄下的comm.jar



2011年8月15日 星期一

Install JAVA development Environment and Eclipse for Android

Install JAVA development Environment and Eclipse for Android

Description:
Prepare an Android JAVA development environment.
Let user know where to download files and how to install the JDK, SDK, Eclipse … program.

Build JAVA development Environment process
1.      Download files
JDK (Java Development Kit)
a.       J2EE (Enterprise Edition)
Support an industry standard for enterprise.
b.      J2SE (Standard Edition)
Develop and deploy Java applications on desktops and servers.
c.       J2ME (Micro Edition)
Suitable mobile (mobile phone, PDA, TV set-top boxes and printers) and other embedded devices.
d.      Java Card
For Smart cards and other devices with very limited memory and processing capabilities.
The version choice depends on your device and what you want to do.       
 
Android SDK (Android Software Development Kit)
  Include Android application tools and APIs

  A IBM open source integrated development environment (IDE) tools

2.      Install JDK

a.       Double Click you download JDK file (exp: jdk-6u26-windows-i586.exe )


b.      Click “Next” button 


c.       Use default setting and click “Next” button 

d.      Press “Finish” to finish JDK install


e.       Setting Environment variable 




3.      Install Android SDK
a.       Execute you download SDK file (exp: installer_r12-windows.exe) 


b.      Press “Next” button to continue install process 


c.       Use default folder and click “Next” button to continue 


d.      Use default setting and press “Install” button to continue 

e.   Click “Finish” into SDK and AVD Manager 




4.      Install Eclipse and Android Development Tools(ADT)
a.       Execute eclipse.exe 


b.      Setting SDK location in WindowàPreferenceàAndroid 



c.       Install ADT in eclipseàHelpàInstall New Software 


d.      Press “Add” button to add ADT repository



e.       Choice developer tools and press “Next” button to install ADT tools.

f. Press “Add” button to add ADT repository for Add WindowBuilder

Name: WindowBuilder Pro Update Site
Location: http://dl.google.com/eclipse/inst/d2wbpro/latest/3.7