eclipse4.2junoã¨windows7ã®64bitçã§Androidéçºç°å¢æ§ç¯
2012å¹´8æ12æ¥ã®æç¹ã§ã®ææ°å®å®çã§ããEclipse 4.2 (juno)ã¨ãWindows7 64bit㧠Androidéçºç°å¢ãæ§ç¯ããã¡ã¢ã§ãã
è¦ç´ããçµè«ãè¨ãã¨ãã°ã°ã£ã¦åºã¦ããè¯ãããå°å ¥æ¹æ³ã®è§£èª¬ã¨æ¯ã¹ã¦jdkã®pathè¨å®ããã以å¤ã¯åãã§ããã
ã¾ãã以ä¸ã«æ¸ãã¦ããæé ã©ããã«ä½æ¥ããããã§ã¯ãªããå®éã«ã¯å¤±æãã¦ä½æ¥ãåå¾ãã¦ãã¾ããã§ãã®ã§ãæ¹ãã¦æ¸ãã¦ããæé ã©ããã«ãã£ã¦ä¸æããããã¯è©¦ãã¦ãã¾ããããã¶ã大ä¸å¤«ã ã¨æãã¾ããã
ãã·ã³
- ãã¼ãPC
- core i3 (SandyBridge)
- DDR3-1333 8GB ï¼å®ãã£ãã®ã§å¢ãããï¼
- SSD PlextorM5S 256GB ï¼å®ãã£ãã®ã§è²·ã£ãï¼
- Windows7 SP1 HomePremium Japanese 64bit
eclipseã¯ã¨ã¦ãéãã®ã§ãSSDã«ãã¦RAMããããä¹ãã¦å¿«é©ã«ããªãã¨ããæ°ãåºãªãã§ãã
ãã®ç°å¢ã ã¨ã30ç§ãããã§OSãèµ·åãã¦ã30ç§ãããã§eclipseãèµ·åãã¾ãã
ããããããã©ã¦ã¶ãããã¦ã³ãã¼ããããã®
ã¾ã¨ãã¦ãã¦ã³ãã¼ããã¦ããã¨ä½æ¥æéã«ç¡é§ãããã¾ããã
Java Develop Kit
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html
Windows x64, 92.36 MB, jdk-7u5-windows-x64.exe
Android SDK
http://developer.android.com/sdk/index.html
installer_r20.0.1-windows.exe 68MBããã
Eclipse 4.2
http://www.eclipse.org/downloads/
Eclipse IDE for Java EE Developers, 221 MB, Windows 64bit
eclipse-jee-juno-win32-x86_64.zip 221MB
ããã±ã¼ã¸ã®éãã«ã¤ãã¦ã¯ãããåç §ã
Eclipse 4.2 ã®ãã¦ã³ãã¼ãï¼ã¤ã³ã¹ãã¼ã«ï¼è¨å®ï¼æ¥æ¬èªåï¼åºæ¬æä½
http://www.kkaneko.com/rinkou/javaintro/eclipse.html
Pleiades
http://mergedoc.sourceforge.jp/
1.3.5ããã¦ã³ãã¼ãã
pleiades.zip 14MBããã
eclipseã®æ¥æ¬èªåãããã§ãã
ã¤ã³ã¹ãã¼ã«
jdkã®ã¤ã³ã¹ãã¼ã«
C:\Program Files\Java\jdk1.7.0_05\
ã¤ã³ã¹ãã¼ã©ããå
¥ãã¾ãã
ã¦ã¼ã¶ã¼ç°å¢å¤æ°ã®pathã«å¤ã追å ãã¾ãã
C:\Program Files\Java\jdk1.7.0_05\bin
JAVA_HOMEå¤æ°ã追å ãã¦ãå¤ãè¨å®ãã¾ãã
C:\Program Files\Java\jdk1.7.0_05
ç°å¢å¤æ°ãè¨å®ãçµãã£ããããã£ãããã°ãªããã¦ãã°ã¤ã³ããªããã¦åæ ããã¾ããåèµ·åã§ãè¯ãã§ãã
eclipseã®ã¤ã³ã¹ãã¼ã«
C:\develop\eclipse-juno ã¸zip解åãã¾ãã
Program Filesã¸ç½®ãã¨é¢åãªãã¨ã«ãªãå ´åããããããã®ã§é¿ãã¾ãã
çç±ã¯ http://pasofaq.jp/windows/vista/virtualstore.htm
ã¨ããããç´ ã®ç¶æ
ã®ã¾ã¾ã¡ããã¨èµ·åããã確èªãã¦ããã¾ãã
ã¡ããã¨èµ·åãã¾ãããè±èªã§ãã
Pleiadesã®ã¤ã³ã¹ãã¼ã«
Readmeãã¡ããã¨èªãã§ã¤ã³ã¹ãã¼ã«ãã¾ãã
eclipse.exe -clean.cmd ãeclipse.exeã¨åããã£ã¬ã¯ããªã«ç½®ãã¦èµ·å確èªããã¾ããæ¥æ¬èªã«ãªãã¾ããã
ãã以éã¯ãã®ããããã¡ã¤ã«ã§ãªããæ®éã«èµ·åããã®ã§OKã§ãã
Android SDKã®ã¤ã³ã¹ãã¼ã«
ããã§ãç°å¢å¤æ°ãæ£ããè¨å®ããã¦ããªãã¨ãã¤ã³ã¹ãã¼ã©ãjdkãçºè¦ã§ããã«ã¤ã³ã¹ãã¼ã«ã§ããªãããã§ãã
ã¤ã³ã¹ãã¼ã«å 㯠C:\develop\android-sdk\ ã«ãã¾ããã
ã¤ã³ã¹ãã¼ã«å®äºããã¨èªåã§Android SDK Managerãèµ·åãã¾ãã
Toolsã¨Extrasã¯å
¨ã¦ãã§ãã¯ãã¾ãããããã»ã©å¤§ãããªãã®ã§ãä»ã¯å¿
è¦ãªAPI Levelã ããã§ãã¯ãã¾ãããInstall 35 packages...ãã¯ãªãã¯ããAccept Allããã§ãã¯ãã¦é²ãã¾ããmotorola xoomãªã©ã®ããã¤ãã®ããã±ã¼ã¸ã§ã¢ã«ã¦ã³ããè¦æ±ããããã®ã«ã¤ãã¦ã¯ãã£ã³ã»ã«ãã¾ãããAPI Levelããããã¯ãµã¤ãºã巨大ãªã®ã§ãå
¨é¨ããããã¯ãªã¹ã¹ã¡ã§ãã¾ãããå¾ãã追å ã§ãã¦ã³ãã¼ãã¨ã¤ã³ã¹ãã¼ã«ãã§ããã®ã§ãå¿
è¦ãªãã®ã ãã«ãã¾ãã
ãã¦ã³ãã¼ãã¨ã¤ã³ã¹ãã¼ã«ã«ãã°ããæéããããã¾ããããã§ã¤ã¾ã¥ããã¨ãããã®ã¯ãSDK Managerã¯ä¸è¬çãªã¢ããªã¨ç°ãªããããã·ã®è¨å®ãIEããèªã¿è¾¼ãã§ãããªãããããããã·çµç±ã§ã¤ã³ã¿ã¼ãããæ¥ç¶ãã¦ããç°å¢ã®å ´åã¯è¨å®ãã¦ããå¿ è¦ãããã¾ãã
ã¾ããã¦ã¼ã¶ã¼ç°å¢å¤æ°ã®pathã«å¤ã追å ãã¾ããéã¯ã»ãã³ãã³ãå ¥ãã¾ããã³ãã³ãããã³ããããadb devicesã¨ãæã¤ã¨ãå½¹ç«ã¡ã¾ãã
C:\develop\android-sdk\platform-tools;C:\develop\android-sdk\tools
Eclipseã«ADTãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ã
http://developer.android.com/sdk/installing/installing-adt.html ã«ãããã£ã¦ä½æ¥ãã¾ãã
- Eclipseãèµ·åãã¾ãã
- ãã«ãâæ°è¦ã½ããã¦ã§ã¢ã®ã¤ã³ã¹ãã¼ã«...
- 追å ãã¿ã³ã§ãªãã¸ããªã追å ãURLã¯https://dl-ssl.google.com/android/eclipse/ ååã¯é©å½ã«androidã«ã
- 追å ããé ç®ãé¸ã³ç´ãã¨ãéçºãã¼ã«ãã¨ãNDKãã©ã°ã¤ã³ããåºã¦ããã®ã§å ¨é¨ããããããã»ã©å¤§ãããªãã®ã§ã
- ã©ã¤ã»ã³ã¹ãèªã¿ã¾ãããã§ãã¯ãã¦æ¬¡ã¸æ¬¡ã¸é²ããã
- ãã¦ã³ãã¼ãã¨ã¤ã³ã¹ãã¼ã«ãå§ã¾ãã¾ãã
- ã¤ã³ã¹ãã¼ã«å®äºããã¨Eclipseã®åèµ·åãä¿ãããã®ã§åèµ·åã
- åèµ·åããã¨Androidéçºã¸ããããã¦ã£ã³ãã¦ãåºããæ¢åSDKã使ç¨ãé¸æãã C:\develop\android-sdk ãå ¥åãã¦æ¬¡ã¸ã
ãã¶ãEclipse â ADTãã©ã°ã¤ã³ â Android SDK ã¨ããçµè·¯ã§ã¢ã¯ã»ã¹ãã¦ããã¿ããã§ãã
Androidéçºç°å¢ã®åä½ç¢ºèª
ããã¸ã§ã¯ããä½ã£ã¦ä»®æ³ããã¤ã¹ãä½ã£ã¦HelloAndroidãåãããåãã¾ããã
http://www.techfirm.co.jp/lab/android/helloworld.html
ææã¡ã®Android端æ«(GALAXY S)ã§åãããåãã¾ããã
http://crimson-systems.jp/android/android00.php
ããã§ãä¸éãç°å¢æ§ç¯ãã§ãã¾ããã
ã¨ãã©ãjavaãADTãAndroidSDKã«ã¢ãããã¼ããããã®ã§ãæ´æ°ãã¾ãããã
ãã¾ãï¼Windows 64bitçã®æ§é
äºåç¥èãç¡ãã¨ãããããããªãæ§é ããã¦ãã¾ãã
ã«ã¼ãã«ã¯64bitãªã®ã§ãã«ã¼ãã«ã¢ã¼ããã©ã¤ãã64bitçã§ãªãã¨åããªãã
64bitã®ãã©ã¤ãã«ã¯ç½²å(signature)ãå¿
è¦ã
64bitãã©ã¤ãã¯ã32bitããã»ã¹ã¨64bitããã»ã¹ä¸¡æ¹ããã¢ã¯ã»ã¹ããããã¨ãèæ
®ããå¿
è¦ãããããã¤ã³ã¿ã®é·ããæ°ãã¤ããã¨ãã
WOW64ãµãã·ã¹ãã ï¼Windows32bit On Windows64bitï¼ã®ä¸ã«32bitã·ã¹ãã ãä¹ã£ã¦ããã
ãã£ã¬ã¯ããªã ã¨windows/system32ã64bitã·ã¹ãã ã§ãwindows/SysWOW64ã32bitã·ã¹ãã ãé常ã«ç解ããããå½åã ãä»æ¹ãªãã
ã¢ããªã±ã¼ã·ã§ã³ã®ã¤ã³ã¹ãã¼ã«ãã£ã¬ã¯ããª
64bitã¢ããªã±ã¼ã·ã§ã³ã¯Program Filesã«ã32bitã¢ããªã±ã¼ã·ã§ã³ã¯Program Files (x86)ã«ãããããã¤ã³ã¹ãã¼ã«ãããã
ã·ã¹ãã ãï¼ã¤ããã®ã§ãããã»ã¹ã32bitããã»ã¹ã¨64bitããã»ã¹ãããã
ãã¨ãã°32bitã¢ããªãã64bit DLLããã¼ããããã¨ã¯ã§ããªãã
ã¿ã¹ã¯ããã¼ã¸ã£ã§ãããã»ã¹ã®bitãã©ã¡ããªã®ã確èªãããã¨ãã§ããã
åèï¼http://d.hatena.ne.jp/sea-show/20100313/126847675
åèURL
64 ããã Windows ããã°ã©ãã³ã° ã¬ã¤ã
http://msdn.microsoft.com/ja-jp/library/bb427430(v=vs.85)
32 ãããããã³ 64 ãããã® Windows: ããå¯ãããã質å
http://windows.microsoft.com/ja-JP/windows7/32-bit-and-64-bit-Windows-frequently-asked-questions
jreãjdkãeclipseã«ã32bitçã¨64bitçãããã
ã¿ã¹ã¯ããã¼ã¸ã£ãè¦ãã¨64bitçeclipseã¯64bitããã»ã¹ã§åä½ãã¦ããã®ã§ã64bitçjdkï¼ã¤ã¾ãDLLï¼ãå¿ è¦ã«ãªãã¯ããåãããã«32bit eclipseã«ã¯32bit jdkãå¿ è¦ã«ãªããã¨ããé¢ä¿æ§ã®ããã ããªã®ã§ãã¹ã¤ã«64bit Windowsä¸ã«32bitã®eclipseãå¹³è¡ãã¦ã¤ã³ã¹ãã¼ã«ã§ããã¨æããã³ã³ãã¤ã«é度ã¨ãã®ããã©ã¼ãã³ã¹ã¯64bitçã®ã»ããé«ãããªæ°ããããããã³ããã¼ã¯ããªãã¨ããããªãã
64 ããã Windows ãªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ã§ä½¿ç¨ããå ´åã«ãã¦ã³ãã¼ããã Java ã®ãã¼ã¸ã§ã³
http://www.java.com/ja/download/faq/java_win64bit.xml
ã¡ãªã¿ã«eclipseãã©ã°ã¤ã³ãAndroidSDKã«ã¯32bit/64bitã®åºå¥ããªãããã ããã©ãããæ§é ãªã®ã ãããã