User Tools

Site Tools


tutorials:cb1:development:installing_the_build_environment_on_ubuntu_12.04

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tutorials:cb1:development:installing_the_build_environment_on_ubuntu_12.04 [2013/10/15 16:24]
sinosmond [Installingthe JDK]
tutorials:cb1:development:installing_the_build_environment_on_ubuntu_12.04 [2014/06/12 11:17] (current)
parker parker
Line 1: Line 1:
-====== ​Start ======+====== ​Installing the Build Environment on Ubuntu 12.04 ======
  
 <WRAP noprint><​WRAP left box 60%> <WRAP noprint><​WRAP left box 60%>
Line 12: Line 12:
 <WRAP left round box 60%> <WRAP left round box 60%>
 __** PC requirements **__ __** PC requirements **__
-** Hardware ** +  * ** Hardware ** 
-  * CPU: Intel 2.5G I5 x64 +    * CPU: Intel 2.5G I5 x64 
-  * Memory: 16G DDR3 +    * Memory: 16G DDR3 
-  * Disk: 30GB +    * Disk: 30GB 
-  * Internet connected +    * Internet connected 
-** Software ** +  ​* ​** Software ** 
-  * OS: Ubuntu 12.04(64 bit) +    * OS: Ubuntu 12.04(64 bit) 
-  * Java JDK 6 +    * Java JDK 6 
-  * Eclipse +    * Eclipse 
-  * ADT +    * ADT 
-  * CDT +    * CDT 
-  * Android SDK +    * Android SDK 
-  * Android NDK +    * Android NDK 
-  * Linux Source +    * Linux Source 
-  * Android Source+    * Android Source
 </​WRAP>​ </​WRAP>​
- 
  
 ===== Initializing a Build Environment ===== ===== Initializing a Build Environment =====
Line 38: Line 37:
 In order to download it, you need to add the appropriate repository and indicate to the system which JDK should be used. In order to download it, you need to add the appropriate repository and indicate to the system which JDK should be used.
  
-Input the following command in the Terminal:+Download ​the jdk1.6:
  
-  $ sudo gedit /etc/apt/sources.list+  $ dl.cubieboard.org/software/tools/android/​jdk1.6.0_33.tar.gz
  
-Add:+Input in terminal:
  
-  ​deb http://​us.archive.ubuntu.com/​ubuntu/​ hardy multiverse+  ​$ sudo vim etc/profile
  
-Input in terminal:+Add :
  
-  ​$ sudo add-apt-repository "deb http://archive.canonical.comlucid partner"​ +  ​JAVA_HOME=/work/tools/jdk1.6.0_33 
-  $ sudo apt-get update +  export JRE_HOME=/work/​tools/​jdk1.6.0_33/​jre 
-  $ sudo apt-get install sun-java6-jdk+  ​export CLASSPATH=.:​$JAVA_HOME/​lib:​$JRE_HOME/​lib:​$CLASSPATH 
 +  ​export PATH=$JAVA_HOME/​bin:​$JRE_HOME/​bin:​$PATH 
 +   
 +Then save and input :
  
 +  $souurce etc/profile
 ==== Installing the Android SDK ==== ==== Installing the Android SDK ====
  
Line 205: Line 208:
   $ ./first   $ ./first
  
-=== See also === 
  
-  * http://​linux-sunxi.org/​Building_on_Ubuntu 
    
 <WRAP noprint> <WRAP noprint>
 {{tag>​development environment ubuntu_12.04}} {{tag>​development environment ubuntu_12.04}}
 </​WRAP>​ </​WRAP>​
tutorials/cb1/development/installing_the_build_environment_on_ubuntu_12.04.1381825470.txt.gz · Last modified: 2013/12/23 14:50 (external edit)