Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Kragen Javier Sitaker Newsgroups: comp.lang.misc,alt.folklore.computers Subject: Re: the history of Java in Android (was Re: =?utf-8?Q?What?= =?utf-8?Q?=E2=80=99s?= Your Least Favourite Programming Language?) Date: Sat, 29 Aug 2026 15:24:51 -0300 Organization: Primarily biological and memetic Lines: 25 Message-ID: <87wlt87pjg.fsf@debian> References: <10e1m38$8ukd$1@dont-email.me> <20251031081742.00003c76@gmail.com> <87ik4vdrxw.fsf@debian> <116r3k4$218ss$5@dont-email.me> <871pbido8z.fsf_-_@debian> <116t2ic$2ok8c$4@dont-email.me> <87mru5bzcn.fsf_-_@debian> <116tco6$2ro8i$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 29 Aug 2026 18:24:58 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3639438"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XNuDQmhnoULs9IH/M4gm3"; posting-host="19c753fba95970cf1a99e4804f17687c" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:nGfObTkSgWkcpyJ+mdNunrmX0Mo= sha1:5aP04v9hrfaeO8l1wi4439BAqf4= sha256:AvfyR57bUrpOc7OoZVOAa5Peby2JkgNuk/VQsp6Z+yg= sha1:92COnp5rGXV8nLRsYKJE5ybGgGk= sha256:ZnqjEl4/xXxROuA8b77WiNdSRI2sLfdNpk5eQo+Kds4= Xref: csiph.com comp.lang.misc:11858 alt.folklore.computers:235454 Lawrence D’Oliveiro writes: > On Fri, 28 Aug 2026 20:27:04 -0300, Kragen Javier Sitaker wrote: >> Your statement, “So [the Android team] adapted [OpenJDK] instead [when >> they could have chosen J2ME],” is not true of *either* the language >> implementation (Dalvik) *or* the library implementation (initially they >> adapted Harmony, and many years later they adapted OpenJDK). > > “Dalvik” was the original bytecode interpreter that Google came up > with for Android. That was not a “language implementation” for any > particular “language”. > > By “language implementation” I was talking about SunJDK versus > OpenJDK. We've agreed that they weren’t using the Sun JDK’s class library; instead they used Apache Harmony. We've agreed that they weren’t using the Sun JDK’s bytecode interpreter; instead they used Dalvik. I'm pretty sure they weren’t using the Sun JDK’s compiler from Java source to Java bytecode, because Dalvik couldn’t interpret the standard stack-oriented JVM bytecode. Was there some other part of the Sun JDK that they *were* using? If so, what part? What does the JDK contain, other than the class library, the virtual machine, and the compiler to that virtual machine? Kragen