Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Unified Diff: docs/android_build_instructions.md

Issue 2858063002: Revert of Android: Update docs to say Java 8 is required (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/install-build-deps-android.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/android_build_instructions.md
diff --git a/docs/android_build_instructions.md b/docs/android_build_instructions.md
index a0f95414acb5df38ca74632d0a9df77c298a38a9..be30dfa87bf3affc3384658c6e6aeb725eed3b0d 100644
--- a/docs/android_build_instructions.md
+++ b/docs/android_build_instructions.md
@@ -111,6 +111,19 @@
keys](https://www.chromium.org/developers/how-tos/api-keys) if you want your
build to talk to some Google services, but this is not necessary for most
development and testing purposes.
+
+### Configure the JDK
+
+Make also sure that OpenJDK 1.7 is selected as default:
+
+```shell
+$ sudo update-alternatives --config javac
+$ sudo update-alternatives --config java
+$ sudo update-alternatives --config javaws
+$ sudo update-alternatives --config javap
+$ sudo update-alternatives --config jar
+$ sudo update-alternatives --config jarsigner
+```
## Setting up the build
« no previous file with comments | « build/install-build-deps-android.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698