User Tools

Site Tools


tutorials:cb1:development:cubieboard:building_environment_for_android

Differences

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

Link to this comparison view

tutorials:cb1:development:cubieboard:building_environment_for_android [2013/10/16 17:47]
james [Setting up a Linux build environment]
tutorials:cb1:development:cubieboard:building_environment_for_android [2014/11/04 13:43] (current)
parker k
Line 9: Line 9:
  
 =====Setting up a Linux build environment===== =====Setting up a Linux build environment=====
-Installing the JDK+==== Installing the JDK ====
  
 The Sun JDK is no longer in Ubuntu'​s main package repository. In order to download it, you need to add the appropriate repository and indicate to the system which JDK should be used. The Sun JDK is no longer in Ubuntu'​s main package repository. In order to download it, you need to add the appropriate repository and indicate to the system which JDK should be used.
Line 15: Line 15:
 Java 6: for Gingerbread and newer Java 6: for Gingerbread and newer
  
-  ​sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"​ +    ​$wget dl.cubieboard.org/software/tools/​android/​jdk1.6.0_45.tar.gz
-  $ sudo apt-get update +
-  $ sudo apt-get install sun-java6-jdk+
  
 +Input in terminal:
 +
 +  $ sudo vim ~/.bashrc
 +
 +Add :
 +
 +  JAVA_HOME=/​work/​tools/​jdk1.6.0_45
 +  export JRE_HOME=/​work/​tools/​jdk1.6.0_45/​jre
 +  export PATH=$JAVA_HOME/​bin:​$JRE_HOME/​bin:​$PATH
 +  ​
 +Then save and input :
 +
 +  $source ~/.bashrc
 =====Installing required packages (Ubuntu 12.04)===== =====Installing required packages (Ubuntu 12.04)=====
  
 You will need a 64-bit version of Ubuntu. Ubuntu 12.04 is recommended. Building using an older version of Ubuntu is not supported on master or recent releases. You will need a 64-bit version of Ubuntu. Ubuntu 12.04 is recommended. Building using an older version of Ubuntu is not supported on master or recent releases.
  
-  $ sudo apt-get install git gnupg flex bison gperf build-essential \ +  $sudo apt-get install git gnupg flex bison gperf build-essential \ 
-    zip curl libc6-dev libncurses5-dev:​i386 x11proto-core-dev \ +  zip curl libc6-dev libncurses5-dev:​i386 x11proto-core-dev \ 
-    libx11-dev:​i386 libreadline6-dev:​i386 ​g++-multilib ​mingw32 tofrodos \ +  libx11-dev:​i386 libreadline6-dev:​i386 mingw32 tofrodos \ 
-    python-markdown libxml2-utils xsltproc zlib1g-dev:​i386+  python-markdown libxml2-utils xsltproc zlib1g-dev:​i386 ​libgl1-mesa-glx:​i386 libgl1-mesa-dev
tutorials/cb1/development/cubieboard/building_environment_for_android.1381916871.txt.gz · Last modified: 2013/12/23 14:50 (external edit)