Index: build/android/envsetup.sh |
=================================================================== |
--- build/android/envsetup.sh (revision 181793) |
+++ build/android/envsetup.sh (working copy) |
@@ -104,6 +104,12 @@ |
webview_build_init |
fi |
+java -version 2>&1 | grep -qs "Java HotSpot" |
+if [ $? -ne 0 ]; then |
+ echo "Please check and make sure you are using the Oracle Java SDK" |
Yaron
2013/02/12 18:50:35
Can you add a few more lines about how to verify a
Lei Zhang
2013/02/12 18:58:01
Done. I edited the wiki too.
|
+ return 1 |
+fi |
+ |
# Workaround for valgrind build |
if [[ -n "$CHROME_ANDROID_VALGRIND_BUILD" ]]; then |
# arm_thumb=0 is a workaround for https://bugs.kde.org/show_bug.cgi?id=270709 |