Skip to main content

Fuchsia Friday: Fuchsia is gaining support for Java – by borrowing from Android

In an interesting turn of events this Friday evening, the beginnings of support for the Java programming language has arrived for Fuchsia. Where things get interesting is that this change was found in Android’s code, not Fuchsia’s.

We’ve long known that Android, Google’s 10 year old OS for phones and tablets, and Fuchsia, Google’s in-development OS for just about everything, would have a special relationship. This will be especially true if Google intends for Fuchsia to replace Android within 5 years.

Another aspect of that relationship has come forward in a new commit found today, not in any Fuchsia code, but in Android’s Gerrit source code management. The commit shows that Google has been working privately on Fuchsia compatibility with Android’s Libcore, which they are now making public.

Libcore is the basis of Android’s usage of Java. In particular, Fuchsia compatibility has been added for a significant portion of Libcore called ‘ojluni’, which stands for OpenJDK Lang, Util, Net, IO. These are the four essential pieces of implementing Java using the open source OpenJDK. At the bare minimum, this indicates a desire for Fuchsia to eventually run Java code.

Beyond that, the commit itself doesn’t reveal any interesting details, as it simply adjusts portions of the code that need to work differently for Fuchsia and Zircon than on Linux and Android. There are also no matching changes yet in Fuchsia’s code to indicate its exact purpose.

The easiest thing to speculate is that this is a continuation of work found earlier this year to bring the Android Runtime to Fuchsia. It’s hard to imagine this being possible without Libcore handling the Java behind the scenes. On the other hand, this could simply be part of an effort to make one of the world’s most commonly used languages run on Google’s newest operating system.

Whatever the case may be, know that we’re always keeping a close eye on Fuchsia’s development as it progresses.


Check out 9to5Google on YouTube for more news:

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Google — experts who break news about Google and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Google on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Comments

Author

Avatar for Kyle Bradshaw Kyle Bradshaw

Kyle is an author and researcher for 9to5Google, with special interests in Made by Google products, Fuchsia, and uncovering new features.

Got a tip or want to chat? Twitter or Email. Kyle@9to5mac.com

Manage push notifications

notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications
notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications