x PhoneArena is hiring! Reviewer in the USA
  • Hidden picShow menu
  • Home
  • News
  • Starting with Android N, the platform will replace Java with OpenJDK

Starting with Android N, the platform will replace Java with OpenJDK

Posted: , by Alan F.

Tags:

Starting with Android N, the platform will replace Java with OpenJDK
Google has confirmed to VentureBeat that Android will be dropping the use of Java APIs in Android N. To avoid a copyright lawsuit, Google's open source OS will turn to OpenJDK. The latter is an open source version of the Java Development Kit offered by Oracle. There is a long legal history dating back to 2010, when Oracle first sued Google for using Java's APIs without permission. Google argued that APIs could not earn copyright protection considering their place in the development of software.

In 2012, a jury ruled in favor of Google, although two-years later the decision was partially reversed. This past June, the Supreme Court declined to hear the case and remanded it back to a lower court. If the final decision is in favor of Oracle, Google might be responsible for all of the Android powered units sold prior to Android N. A victory for Google won't change the company's plans to replace Java with its open source sibling. Above everything, Google still believes that APIs can not be copyrighted.

The overall effect to developers is that they will be writing apps on a simplified code. And while Google might say that the switch is being made to support open source code, that obviously isn't the reason for the switch.

The company's intentions appear in a code commit dated in November. 8902 files were changed and it showed that OpenJDK code was added to Android. As far as Android users are concerned, there should be no changes in how the platform performs.

source: Google via VentureBeat, SlashGear

19 Comments
  • Options
    Close




posted on 29 Dec 2015, 23:42 2

1. nasznjoka (Posts: 394; Member since: 05 Oct 2012)


why not start an in house language? like apple's swift and use it parallel with openjdk untill devs are used to it then change completely?

posted on 30 Dec 2015, 05:02 6

9. sgodsell (Posts: 3042; Member since: 16 Mar 2013)


That would be stupid. Especially since OpenJDK uses the exact same APIs. Not to mention if you use a new language, then your existing apps would not be compatible with the existing runtime. You would then have to change the runtime to accommodate the new language.

You see Apple went with Swift because Apple wants to bridge the development gap between iOS Developers and OS/X developers as well. Not to mention Swift even has runtime similar to Android. Swift is bringing an agnostic platform to Apple, whereas Android is already agnostic. Apples existing iOS apps and store is NOT agnostic and currently relys on Apples specific hardware..

posted on 29 Dec 2015, 23:52

2. phonehome (Posts: 465; Member since: 19 Dec 2014)


Wonder if this is another way to increase sales (?) as hardware and data speeds (especially with carrier caps) have kind of been maxed out.

posted on 30 Dec 2015, 02:01

3. azalucel (Posts: 133; Member since: 27 Dec 2013)


I wish google would just use dart:https://en.m.wikipedia.org/wiki/Dart_(programming_language) for their apps like they have supposively been planning on doing, and i wish they would do something similar to:https://blog.xamarin.com/android-in-c-sharp/ for the os that way it would be faster, less of a resource hog, and its not licensed....so all together you would have apps running at 120 fps thanks to dart and vulcan which they are also planning to use and you would have a much better os with no legal issues

posted on 30 Dec 2015, 02:50 2

4. johanbiff (Posts: 387; Member since: 31 Mar 2015)


should be a nice performace gain, JavaVM is a resurce hog

posted on 30 Dec 2015, 02:57 10

5. azalucel (Posts: 133; Member since: 27 Dec 2013)


Its still java its just the open source version that oracale cant whine like a lil b**** over

posted on 30 Dec 2015, 03:05 1

6. johanbiff (Posts: 387; Member since: 31 Mar 2015)


aahh, thanx.. missread the article

posted on 30 Dec 2015, 03:20 5

7. Hexa-core (banned) (Posts: 2131; Member since: 11 Aug 2015)


Google should just ditch java altogether.

posted on 30 Dec 2015, 05:06

10. sgodsell (Posts: 3042; Member since: 16 Mar 2013)


Java is what helped make Android an agnostic platform. Now everyone is trying to be like Android. Look at Apple with their Swift, and Microsoft with their Universal apps. When Google choose java. This meant that Android and its ecosystem of apps were not going to be tied or locked down to any hardware. Look at Apples apps are currently locked down to its hardware.

posted on 30 Dec 2015, 08:53 1

12. TechieXP1969 (Posts: 7781; Member since: 25 Sep 2013)


using any codebase doesn't force an OS to be dedicated to any one hardware. All the Android OEM's use ARM, which is just one hardware platform.

Everyone I know in coding has tried your argument and it has no basis whatsoever.

Its computer code. As long as the code is compatible with the hardware underneath, it doesn't have to be tied to any one platform.

posted on 30 Dec 2015, 22:27

17. sgodsell (Posts: 3042; Member since: 16 Mar 2013)


What are you going on about. Android uses a VM (virtual machine). The VM is the thing that is tied to the specific hardware architecture. BTW not all OEMs use Arm processors, and not to all Arm processors are compatible with each other. However java takes you away from the hardware level.

Why do you think Apple came out with Swift, and Microsoft came out with Universal apps. They both saw how Android and its ecosystem were not tied to any specific hardware architecture. This is one of the factors that helped Android and its OEMs grow.

posted on 30 Dec 2015, 09:24 1

13. nasznjoka (Posts: 394; Member since: 05 Oct 2012)


c'mon man, the only thing that makes android non hardware dependent is the VM(DVM) which by the way Dart has too. So instead of continuation of java usage as the main language they should just find a way to make DVM and Dart VM backward compatible so that devs start to code in either of the languages I believe after 2-3 years they can be ready to ditch java.

posted on 30 Dec 2015, 22:38

18. sgodsell (Posts: 3042; Member since: 16 Mar 2013)


Wrong. Androids ecosystem is also non hardware dependent. That's not to say that every app is agnostic, but the vast majority of Androids apps are not dependent on any specific hardware architecture.

As far as supporting another language. That could be done. Someone could add another runtime to the existing VM. Hey why don't you add that yourself. Since everyone has access to the source code, then you could add that feature yourself. So get on with the update.

posted on 30 Dec 2015, 04:34

8. FluffyBled (Posts: 446; Member since: 10 Sep 2014)


Scumbag Oracle -_-!
However they might be ditching OracleJDK for OpenJDK ... it's still java (Not like the article title says)

posted on 30 Dec 2015, 08:51 3

11. TechieXP1969 (Posts: 7781; Member since: 25 Sep 2013)


Larry Ellison is a spazzz just like Jobs. His hate for Microsoft and Google is just mind-boggling.

When Sun Microsystems owned Java, they "gave" the code to Google. Google doesn't charge for its usage based on the agreement that Google can't make money off the use of Java. But that doesn't mean Google can't sell you hardware that uses it as is with any other OEM.

The problem is Google makes lots of money by using the platofmr as a way to make money from ads as it always has. Oracle thinks they should get soem o fthat money and they simply shouldnt.

Oracle did not provide Java to Google. Sun did. You dont get to change the rules because you bought out the company. This is why Google should move Android to either x86 or Objective C or someother language that allows direct hardware access and stop using this piss-poor gutless piece of s%^t Java Virtual Machine boloney.

Larry Ellison needs to die a horrible death.

posted on 30 Dec 2015, 11:03

14. azalucel (Posts: 133; Member since: 27 Dec 2013)


If that were to happen then we would have a bunch more issues cause then apps could have direct access to the hardware instead of the sandbox enviornment it has now, if apps were allowed that kind of access the way linux mint is then you could try to update something and the audio go out, or the display fc constantly because there is no middle man to protect the hardware anymore.....what they need to do is go to:https://blog.xamarin.com/android-in-c-sharp/ that way there is no licensing, its less of a resource hog, and its more energy efficent so our batteries would last longer......with that everyone wins

posted on 30 Dec 2015, 11:06

15. Podrick (Posts: 364; Member since: 19 Aug 2015)


Hey Techie, how long do you think it takes for Google to ditch Java altogether and move to a better language? Whats the possibility in your opinion?

posted on 31 Dec 2015, 04:26

19. joey_sfb (Posts: 5229; Member since: 29 Mar 2012)


There is no better programming language. Like all things in this world there is always Pro and Con.

Java is important for hardware abstraction.

posted on 30 Dec 2015, 12:41

16. mobi_user (Posts: 150; Member since: 18 Jun 2013)


I love the conversation happening to this article.

Want to comment? Please login or register.

Latest stories