[FE training-materials-updates] Update package installation instructions
Maxime Ripard
maxime.ripard at free-electrons.com
Fri Aug 30 16:46:52 CEST 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : jelly-bean
Link : http://git.free-electrons.com/training-materials/commit/?id=4adb91f204763dc00844eb70dded17adf6c3f385
>---------------------------------------------------------------
commit 4adb91f204763dc00844eb70dded17adf6c3f385
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date: Thu Aug 29 10:47:58 2013 +0200
Update package installation instructions
Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
>---------------------------------------------------------------
4adb91f204763dc00844eb70dded17adf6c3f385
labs/android-source-code/android-source-code.tex | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/labs/android-source-code/android-source-code.tex b/labs/android-source-code/android-source-code.tex
index aeed901..3ea29de 100644
--- a/labs/android-source-code/android-source-code.tex
+++ b/labs/android-source-code/android-source-code.tex
@@ -85,10 +85,29 @@ sudo apt-get install xsltproc gnupg flex bison gperf build-essential \
zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs \
x11proto-core-dev libx11-dev lib32readline6-dev lib32z-dev \
libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \
- libxml2-utils openjdk-6-jdk
+ libxml2-utils
sudo apt-get clean
\end{verbatim}
Again, if you have a slow connection to the Internet, installing these
packages could take several tens of minutes. Anyway, we are getting
back to the lectures.
+
+\section{Install the Java JDK}
+
+The Android build system requires the Oracle Java6 JDK, that is too
+old to be bundled in Ubuntu. We'll have to fetch it from another
+source, and install it.
+
+To do so, we first need to add the repository that holds the JDK
+nowadays.
+
+\begin{verbatim}
+sudo add-apt-repository ppa:webupd8team/java
+sudo apt-get update
+\end{verbatim}
+
+Now, we can install the latest JDK version with the command:
+\begin{verbatim}
+sudo apt-get install oracle-java6-installer
+\end{verbatim}
More information about the training-materials-updates
mailing list