
Orange Pi 2G-IOT User Manual
Copy right by Shenzhen Xunlong Software Co., Ltd
www.orangepi.org
www.xunlong.tv
56
III.
Source Code Compilation of Android and Linux
Hardware: Orange Pi development board*1, Card reader*1, TF card*1, power supply*1
Software: Linux host computer, which hard disk space at least 50G (to meet a fully
compiled need)
Linux host computer needs:
Version 2.7.3 of Python;
Version 3.81-3.82 of GNU Make;
JDK1.6;
Version 1.7 or higher version of Git.
1.
Install JDK
Download and unzip JDK, you will get jdk-6u31-linux-x64.bin, copy it to the
directory of /opt
Modify the permission of jdk-6u31-linux-x64.bin with following command:
sudo chmod 755 jdk-6u31-linux-x64.bin
Install jdk1.6
/jdk-6u31-linux-x64.bin
Configuration multi Java version coexistence mode with the following
command:
sudo update-alternatives --install /user/bin/java java /opt/jdk1.6.0_31/bin/java 300
sudo update-alternatives --install /user/bin/javap javap /opt/jdk1.6.0_31/bin/javap 300
sudo update-alternatives --install /user/bin/javac javac /opt/jdk1.6.0_31/bin/javac 300
sudo update-alternatives --install /user/bin/jar jar /opt/jdk1.6.0_31/bin/jar 300
sudo update-alternatives --install /user/bin/javaws javaws /opt/jdk1.6.0_31/bin/javaws
300
sudo update-alternatives --install /user/bin/javapdoc javadoc /opt/jdk1.6.0_31/bin/javadoc
Содержание Orange Pi 2G-IOT
Страница 34: ...Orange Pi 2G IOT User Manual Copy right by Shenzhen Xunlong Software Co Ltd www orangepi org www xunlong tv 32...
Страница 56: ...Orange Pi 2G IOT User Manual Copy right by Shenzhen Xunlong Software Co Ltd www orangepi org www xunlong tv 54...
Страница 57: ...Orange Pi 2G IOT User Manual Copy right by Shenzhen Xunlong Software Co Ltd www orangepi org www xunlong tv 55...