The Java crisis and what it means for developers

What is happening with the Java language and runtime? Since Java passed into the hands of Oracle, following its acquisition of Sun, there has been a succession of bad news. To recap:

  • The JavaOne conference in September 2010 was held in the shadow of Oracle OpenWorld making it a less significant event than in previous years.
  • Oracle is suing Google, claiming that Java as used in the Android SDK breaches its copyright.
  • IBM has abandoned the Apache open source Harmony project and is committing to the Oracle-supported Open JDK. Although IBM’s Sutor claims that this move will “help unify open source Java efforts”, it seems to have been done without consultation with Apache and is as much divisive as unifying.
  • Apple is deprecating Java and ceasing to develop a Mac-specific JVM. This should be seen in context. Apple is averse to runtimes of any kind – note its war against Adobe Flash – and seems to look forward to a day when all or most applications delivered to Apple devices come via the Apple-curated and taxed app store. In mitigation, Apple is cooperating with the OpenJDK and OpenJDK for Mac OS X has been announced.
  • Apache has written a strongly-worded blog post claiming that Oracle is “violating their contractual obligation as set forth under the rules of the JCP”, where JCP is the Java Community Process, a multi-vendor group responsible for the Java specification but in which Oracle/Sun has special powers of veto. Apache’s complaint is that Oracle stymies the progress of Harmony by refusing to supply the test kit for Java (TCK) under a free software license. Without the test kit, Harmony’s Java conformance cannot be officially verified.
  • The JCP has been unhappy with Oracle’s handling of Java for some time. Many members disagree with the Google litigation and feel that Oracle has not communicated well with the JCP. JCP member Doug Lea stood down, claiming that “the JCP is no longer a credible specification and standards body”. Another member, Stephen Colebourne, has a series of blog posts in which he discusses the great war of Java and what he calls the “unravelling of the JCP”, and recently  expressed his view that Oracle was trying to manipulate the recent JCP elections.

To set this bad news in context, Java was not really in a good way even before the acquisition. While Sun was more friendly towards open source and collaboration, the JCP has long been perceived as too slow to evolve Java, and unrepresentative of the wider Java community. Further, Java’s pre-eminence as a pervasive cross-platform runtime has been reduced. As a browser plug-in it has fallen behind Adobe Flash, the JavaFX initiative failed to win wide developer support, and on mobile it has also lost ground. Java’s advance as a language has been too slow to keep up with Microsoft’s C#.

There are a couple of ways to look at this.

One is to argue that bad news followed by more bad news means Java will become a kind of COBOL, widely used forever but not at the cutting edge of anything.

The other is to argue that since Java was already falling behind, radical change to the way it is managed may actually improve matters.

Mike Milinkovich at the Eclipse Foundation takes a pragmatic view in a recent post. He concedes that Oracle has no idea how to communicate with the Java community, and that the JCP is not vendor-neutral, but says that Java can nevertheless flourish:

I believe that many people are confusing the JCP’s vendor neutrality with its effectiveness as a specifications organization. The JCP has never and will never be a vendor-neutral organization (a la Apache and Eclipse), and anyone who thought it so was fooling themselves. But it has been effective, and I believe that it will be effective again.

It seems to me Java will be managed differently after it emerges from its crisis, and that on the scale between “open” and “proprietary” it will have moved towards proprietary but not in a way that destroys the basic Java proposition of a free development kit and runtime. It is also possible, even likely, that Java language and technology will advance more rapidly than before.

For developers wondering what will happen to Java at a technical level, the best guide currently is still the JDK Roadmap, published in September. Some of its key points:

  • The open source Open JDK is the basis for the Oracle JDK.
  • The Oracle JDK and Java Runtime Environment (JRE) will continue to be available as free downloads, with no changes to the existing licensing models.
  • New features proposed for JDK 7 include better support for dynamic languages and concurrent programming. JDK 8 will get Lambda expression.

While I cannot predict the outcome of Oracle vs Google or even Apache vs Oracle, my guess is that there will be a settlement and that Android’s momentum will not be disrupted.

That said, there is little evidence that Oracle has the vision that Sun once had, to make Java truly pervasive and a defence against lock-in to proprietary operating systems. Microsoft seems to have lost that vision for .NET and Silverlight as well – though the Mono folk have it. Adobe still has it for Flash, though like Oracle it seems if anything to be retreating from open source.

There is therefore some sense in which the problems facing Java (and Silverlight) are good for .NET, for Mono and for Adobe. Nevertheless, 2010 has been a bad year for write once – run anywhere.

Update: Oracle has posted a statement saying:

The recently released statement by the ASF Board with regard to their participation in the JCP calling for EC members to vote against SE7 is a call for continued delay and stagnation of the past several years. We would encourage Apache to reconsider their position and work together with Oracle and the community at large to collectively move Java forward.  Oracle provides TCK licenses under fair, reasonable, and non-discriminatory terms consistent with its obligations under the JSPA.   Oracle believes that with EC approval to initiate the SE7 and SE8 JSRs, the Java community can get on with the important work of driving forward Java SE and other standards in open, transparent, consensus-driven expert groups.   This is the priority.   Now is the time for positive action.  Now is the time to move Java forward.

to which Apache replies succinctly:

The ball is in your court. Honor the agreement.

VN:F [1.9.18_1163]
Rate this post
Rating: 8.4/10 (9 votes cast)
The Java crisis and what it means for developers, 8.4 out of 10 based on 9 ratings

Related posts:

  1. What you are saying about the Java crisis
  2. IBM to harmonise its open source Java efforts with Oracle
  3. Oxygene for Java released: develop for Android and Java runtime with Delphi language in Visual Studio
  4. Oracle versus the JCP as Java’s future is debated
  5. Apple deprecates Java

9 comments to The Java crisis and what it means for developers

  • Joe

    Great summary. Is this just the reality of financing Java? sun could never make any real money put of it.maybe the cloud is the solution – service enablement is a path to monetization.

  • dvhh

    what about the rumors of having a “premium” java runtime?

  • John

    I think that change and uncertainty is good. The worse thing that can happen to a language is that it becomes stale and ignored.
    The JCP has never meant much to the ordinary developer, the exciting things about Java happen in the IDEs, the tooling, the thirdparty libraries and the other languages on the JVM.

    Microsoft are doing some good things with CLR, C#, F# etc but they got bored of Ruby and Python and set them adrift. On the JVM we have Scala, Groovy, JRuby (cut adrift admittedly but going great guns at the moment), Clojure etc etc. If Java seems a bit stale – so what, we will just mix and match another language.

    Hotspot and the Java libraries are still one of the wonders of the VM world. As fast as C/C++, allows code to be written faster, debugged and MAINTAINED better.

    OpenJDK is the one thing that we will all remember Jonathan Schwartz for long after others have come and gone.

  • Edwin Commandeur

    +1 for John’s response and -1 for the negative write up in this post

  • tim

    @Edwin It wasn’t intended as a negative write-up.

    The other is to argue that since Java was already falling behind, radical change to the way it is managed may actually improve matters.

    and I also agree with John’s points.

    Tim

  • Clyde Davies

    As someone who has never really embraced Java, I still think this is a great article, and it would be a real pity if Java was left to languish. Its mere existence has forced Microsoft to sharpen their act. I expect that .NET would still be a research project otherwise.

    I think the reason I, as an in-house developer of business systems, have shied away from wholeheartedly embracing Java is because of two reasons. The first is that I cannot see the attraction of write-once-run-anywhere in the business in which I work where every desktop is a Vista machine, and likely to so remain. The other is that there seems to be so many frameworks one has to learn in order to accomplish basic tasks, and these seem to change with the wind. The overhead that this entails, as well as that of setting up the development environment, is a real disincentive. With Visual Studio, it works out of the box, and there is essentially one framework to master. C# is/was also ahead of Java with features like LINQ and generics.

    If Oracle can do something to bring some order to the ‘chaos’ I perceive in this area, and also convince me that I’ll become substantially more productive, then I’d be happy to be converted.

  • terry

    @Clyde
    Excellent post!! It’s precisely what I feel about the Java language myself and C#/Visual Studio. Most any pragmatic and non-fanatic developer should eventually come to the same conclusion when trying to make the choice between simple and complex solutions in regards to being able to deliver value to their users.

  • Fabrizio

    @Clyde
    exacly what I think. I agree with you. Actually java is too much “chaos”. And dev envs are too far from VS2010. IMHO.

  • Hi,

    Do any one see any impact of oracles take over on Open Source Scripting Languages like Scala, Groovy etc..

    Regards,
    Raja Nagendra Kumar
    C.T.O