--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
#java -version
java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.1)
OpenJDK Server VM (build 20.0-b11, mixed mode)
but
dpkg -l | grep java
ii ca-certificates-java 20110912ubuntu3 Common CA certificates (JKS keystore)
ii java-common 0.42ubuntu2 Base of all Java packages
ii libaccess-bridge-java 1.26.2-6 Java Access Bridge for GNOME
ii libaccess-bridge-java-jni 1.26.2-6 Java Access Bridge for GNOME (jni bindings)
ii sun-java6-bin 6.26-2lucid1 Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files)
ii sun-java6-jdk 6.26-2lucid1 Sun Java(TM) Development Kit (JDK) 6
ii sun-java6-jre 6.26-2lucid1 Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files)
ii tzdata-java 2011n-0ubuntu0.11.10 time zone and daylight-saving time data for use by java runtimes
Any idea?
sudo update-alternatives --config java
see this post for details:
http://superuser.com/questions/353983/how-do-i-install-the-sun-java-sdk-in-ubuntu-11-10-oneric
Perhaps the info on http://source.android.com/source/initializing.html should be updated.
But I still face the same error. Should I somehow make clean, so that everything is built against the same JDK?
Is it planned to support OpenJDK?
That would be helpful. Please note that our documentation is
available in AOSP under docs/source.android.com so patches are always
welcome.
>
> But I still face the same error. Should I somehow make clean, so that everything is built against the same JDK?
You should probably try that. You can clean by running `make clean`
or `rm -rf out`
>
> Is it planned to support OpenJDK?
>
I submitted the patch: https://android-review.googlesource.com/#/c/32521/
> > But I still face the same error. Should I somehow make clean, so that everything is built against the same JDK?
>
> You should probably try that. You can clean by running `make clean`
> or `rm -rf out`
It doesn't help. But I workarounded this by disabling the build of this test.
> > Is it planned to support OpenJDK?
I could compile rowboat's Gingerbread without a problem with OpenJDK.
Yegor
Hi,
I am using Android ICS for beagleboard-xm on ubuntu 10.04 LTS and I am getting the same error
Java: CtsVerifier
(out/target/common/obj/APPS/
CtsVerifier_intermediates/classes)
cts/apps/CtsVerifier/src/com/android/cts/verifier/PassFailButtons.java:
191:
onCreateDialog(int,android.os.Bundle) in android.app.Activity
cannot implement onCreateDialog(int,android.os.Bundle)
in com.android.cts.verifier.PassFailButtons.PassFailActivity;
attempting to assign weaker access privileges;
was public private static <T extends android.app.Activity &
PassFailActivity>
^
1 error
make: ***
[out/target/common/obj/APPS/CtsVerifier_intermediates/classes-full-
debug.jar]
Error 41
Any suggestion?
Regards
Suraj