This shows you the differences between two versions of the page.
tutorials:cb1:development:installing_the_build_environment_on_ubuntu_12.04 [2013/10/15 16:41] sinosmond [Installing the Build Environment on Ubuntu 12.04] |
tutorials:cb1:development:installing_the_build_environment_on_ubuntu_12.04 [2014/06/12 11:17] (current) parker parker |
||
---|---|---|---|
Line 37: | 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.com/ lucid 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 204: | 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> |