Orange Pi Manual
Copy right by Shenzhen Xunlong Software Co., Ltd
www.orangepi.org
www.xunlong.tv
43
The following will illustrate jdk1.6 installation, it would be same for jdk1.7
installation.
Download and install JDK, you will obtain jdk-6u31-linux-x64.bin
Modify the permission of jdk-6u31-linux-x64.bin, which has no prior
permission
$./jdk-6u31-linux-x64.bin
It will generate a folder:
Input at terminal
Note that
JAVA_HOME
is the name of the current directory, you need to fill in
according to your own storage directory.
$ export JAVA_HOME=*/jdk1.6.0_31
$ export PATH=$PATH:/$JAVA_HOME/bin
$ export CLASSPATH=.:$JAVA_HOME/lib
$ export JRE_HOME=$JAVA_HOME/jre
Command line input Jav and press tab to see whether it can auto
completion (Java), which indicates it can successfully installed
2.
Install Platform Supported Software
$ sudo apt-get install git gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386
$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1
/usr/lib/i386-linux-gnu/libGL.so
3.
Download Android Source Package
Download website:
http://www.orangepi.org/downloadresources/
Then you will obtain the following directories: