|
|
Subscribe / Log in / New account

Sun JDK & Android AOSP

Sun JDK & Android AOSP

Posted Dec 17, 2011 17:26 UTC (Sat) by alankila (guest, #47141)
In reply to: Sun JDK & Android AOSP by alankila
Parent article: Ubuntu disabling the Sun Java JDK browser plugin

As alonz said, I can confirm the test in ICS source tree. I've not tried building ICS with OpenJDK, but I have no doubt that it will fail.


to post comments

Sun JDK & Android AOSP

Posted Dec 17, 2011 18:09 UTC (Sat) by mjw (subscriber, #16740) [Link] (2 responses)

If you try, and it does happen to fail for some reason, please do report a bug. http://icedtea.classpath.org/bugzilla I am sure the IcedTea and/or OpenJDK hackers would be happy to know about any deficiencies compared to the proprietary java implementations.

Sun JDK & Android AOSP

Posted Dec 17, 2011 19:17 UTC (Sat) by alankila (guest, #47141) [Link] (1 responses)

Well, I'm pretty sure that I don't need to do anything. Besides, it's not OpenJDK's fault and they grep for "openjdk" string in java --version and refuse to build if it's there.

Sun JDK & Android AOSP

Posted Dec 18, 2011 14:33 UTC (Sun) by mastro (guest, #72665) [Link]

What happens if the version check is removed? Does the build succeed?

Sun JDK & Android AOSP

Posted Dec 19, 2011 0:48 UTC (Mon) by mgross (guest, #38112) [Link]

ICS and the latest GB update both fail to build using openJDK. Interestingly openJDK *did* build AOSP for quite a while. I know this because a number of co-workers where using openJDK without knowing it and I got to help debug their troubles after an update to AOSP happened.

FWIW I think it craps out in either an SDK or test project. (I don't recall which one was trouble maker)

I recomend folks to get the java from oracle web site and set the shell search path such that the javac used in the build is the one from the oracle JDK install directory and recommend NOT using any distro installed java for building AOSP.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds