Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Home Development
    • Development

    Google’s Move to OpenJDK to Benefit Developers

    Written by

    Darryl K. Taft
    Published January 7, 2016
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      Google is switching from the implementation of Java in Android, based on Apache Harmony, to a new one based on Oracle’s OpenJDK.

      The reason for the replacement is a matter of debate among developers and industry observers, but most agree that there are technical benefits to the change. Still, many folks point to the Oracle vs. Google lawsuit, and say Google is making concessions to settle the lawsuit and head off possible future claims. Whatever the reason, Android N, the codename for the next major version of Android, will be based on OpenJDK.

      Apache Harmony is an open-source, “clean room” implementation of Java developed by the Apache Software Foundation. OpenJDK is Oracle’s free and open-source implementation of Java, licensed under the GNU General Public License (GNU GPL) with a linking exception.

      Oracle closed its acquisition of Sun Microsystems in January 2010 and in August of that same year, it sued Google for copyright and patent infringement over Google’s use of Java in Android. At issue was the improper use of Java APIs, Oracle claimed. However, Google argued that APIs could not be copyrighted and eventually won its case in a 2012 jury verdict. Yet, in 2014 another court partially reversed the prior ruling to side with Oracle. The case is ongoing and the legal battle rages on — as does the fight over developer mindshare.

      According to Andreas Gal, an entrepreneur and former CTO of Mozilla who has strong views of Google’s move, Harmony is no match for OpenJDK. “There is basically no technical advantage in using Harmony,” he said in a blog post. “It’s a strictly less complete and less correct version of Sun’s original implementation. Why did Android invest all this effort to duplicate Sun’s open source Java standard classes?”

      Gal argues that Google move to support Harmony was all about licensing. “Over the course of Android’s meteoric rise, the powers behind Android demonstrated a deep strategic understanding of different classes of open source licenses, their strength, and their weaknesses,” he said. “Android has from its early days successfully used open source licenses to enable proprietary technology. Sounds counter-intuitive, but it explains why Google rewrote so much open technology for Android.”

      Yet, Bradley Kuhn, president of the Software Freedom Conservancy sees things a bit differently. “I speculate that Google weighed a technical decision against its own copyleft compliance processes, and determined that Google would succeed in its compliance efforts on Android, and thus won’t face compliance problems, and can therefore easily benefit technically from the better code,” Kuhn said in a blog post.

      Now the decision to move to OpenJDK will benefit developers because it brings with it support for Java 8 and all of its new language improvements and features such as lambdas. Lambdas support programming in a multicore environment by adding closures and related features to the Java language.

      Indeed, Java 8 brought with it enhanced developer productivity and significant application performance increases through reduced boilerplate code, improved collections and annotations, simpler parallel programming models and more efficient use of modern, multicore processors. Thus, the move to OpenJDK brings Java 8 support and also simplifies the Android code by providing a common code base for development.

      However, in the short term, Google’s biggest challenge will be to rip out Harmony and replace it with OpenJDK, Gal said. It appears Google began the effort last February. “All this code and technology churn will have massive implications for Android at a tactical level,” Gal said. “Literally millions of lines of code are changing, and the new OpenJDK implementation will often have subtly different correctness or performance behavior than the Harmony code Google used previously.”

      Gal said he foresees delays in Google getting Android N out on time. Moreover, Gal said he believes Oracle is the clear winner in this Google gambit.

      “No matter how you look at this, this is a huge victory for Oracle,” Gal said. “Oracle never had much of a mobile game, and all of a sudden Oracle gained a good amount of roadmap and technology influence over the most important mobile ecosystem by scale. Oracle is a mobile titan now.”

      Darryl K. Taft
      Darryl K. Taft
      Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×