Tag Archives: oracle

What is Oracle’s mobile strategy for Java?

It has been a tumultuous time for Java – the transition to Oracle ownership has been rocky, there has been JCP drama, the language is falling behind feature-wise, and it’s future on a increasingly important platform (OS X) was briefly looking bleak.

Oracle’s stewardship over Java has been the center of a lot of controversy lately, and at least some of it has been largely due to Oracle’s communication with the Java community. I think there is a bit of a culture shock for both sides in this transition – Oracle is used to tightly controlled, infrequent communication with developers, whereas the Java community is used to constant communication and openness from Sun.

I suspect over time this culture difference will become less of an issue – Oracle is already showing a little bit that they can learn to open up and communicate better, and I think the Java community will grow to accept Oracle’s communication style.

For me, however, there is a much more depressing situation going on with the Java platform right now – Oracle not only lacks a (public) vision for the future of Java on mobile devices, they are actively preventing others from making Java relevant in the mobile space through litigation and licensing terms.

First, where is Oracle taking Java in the mobile space? In my view, down a dead-end. At JavaOne, there was a lot of hype (as there was under Sun) about the number of mobile devices Java ran on. Unfortunately, JavaME lacks most of the appeal of the current generation of smart phone platforms – it lacks the features of iOS or Android, is more difficult to develop with, doesn’t target powerful smart phones, and has a much more involved deployment process. In my view, JavaME represents the past, and concentrating on past success isn’t a very good long-term strategy.

There is, however, a company doing interesting stuff with Java in the mobile space – Google. Android competes very well with iOS, is relatively pleasant to develop for, and has a good deployment model. It has its drawbacks, but it is far more interesting and relevant than JavaME. What does Oracle do? They sue Google.

Adding to this is the licensing spat with Apache Harmony over field-of-use restrictions in the TCK designed to prevent Harmony from being used in the mobile space. To be fair, this was an issue that Sun failed to resolve and wasn’t something that Oracle added in after acquiring Sun. To be less fair, when Oracle was just a member of the JCP and not the owner of Java, they strongly supported removing the field-of-use restriction – now that they situation has changed, however, they aren’t doing the very thing they originally supported.

So, to sum up my complaints as a member of the Java community – not only does Oracle (and to be fair, Sun before them) lack a coherent, interesting long-term mobile strategy, they are actively preventing others in the community for moving forward on their own. Will this kill Java? Doubtful – Java can remain viable and interesting without any sort of mobile presence. It certainly is missing a huge opportunity and it will be unfortunate if the millions of talented, motivated Java developers can’t apply their Java skills to developing compelling, useful mobile applications.

Analysis of Apple’s Java bombshell

I heard about Apple’s deprecation of Java just as I was headed to BlizzCon this week and have spent some time over the past few days chewing on Apple’s move, their motives, and the ramifications.

The sky isn’t falling… yet.

Java 6 is currently quite well-support on OS X. Java 7 isn’t slated to be released until mid-2011, and there is usually a lag between when a new version of Java is released and when people are able to start using it. Apple’s Java releases have historically lagged behind Sun’s releases – sometimes by over a year. This obviously isn’t a terribly good situation, but it does mean there is a significant amount of time to at least achieve “business as usual” for Java on OS X.

There is also one bit of good news in the release – it looks like Apple is trying to accomodate third-party JVMs.


There has been a ton of speculation about why Apple is making this move – from pure business reasons, to Apple wanting to kill Java, to Apple wanting even more control over their entire platform. If I had to guess, I’d say it is a combination of #1 and #3. Apple is clearly moving Mac OS closer to iOS, and Java doesn’t really have a place in that transition. Apple would rather use resources dedicated to maintaining Java for Mac OS to do something that is closer to their long-term goals. Unfortunately, I think Sun is partly to blame for this – poor marketing and poor focus on desktop Java has made it largely irrelevant except for developers, which makes it easy for Apple to ignore it.

Don’t take it personally

Apple isn’t very sentimental about technology and they have nowhere near the emphasis on backwards compatibility that other companies (like Sun or Microsoft) have. They are pretty ruthless about abandoning technology when they feel it no longer helps them meet their goals.

Apple can kind of get away with this a little more because the majority of the products they sell are consumer-related with an expected lifespan that is very short. It is also part of their culture, however, and I think it helps them be successful. Backwards compatibility is a double-edged sword, and while it hurts when you are on the wrong side of it, I think Apple does a decent job of balancing it.

Is Mac OS going to become iOS with a keyboard and better hardware?

Looking at Apple’s history and what they are doing with iOS, there is good reason to wonder this. I think Apple definitely wants to move Mac OS closer to the model for iOS – it gives them a ton of control (which they like because, among other things, it allows them to create a better experience for most users) and because it gets them more money (by controlling application distribution, they can get a cut of each sale).

That said, I have doubts as to how far they will be able to take this. For one, there are legal issues – I think Apple is already playing with anti-trust fire right now with iOS, and total control of the desktop situation would sure be attract unwanted attention from the DOJ. More importantly, there are pragmatic issues. Developers, creative professionals, and other power-users would have a hard time working with a a crippled, locked-down Mac OS that some people are envisioning.

Does Apple need Java?

Obviously, Java isn’t critical to Apple’s success, but it is (and will continue to be) important to them for a few reasons. First off, Apple themselves use Java quite a bit for their server-side stuff – the Apple Online Store, the iTunes backend, and other systems. They’ll need to have some level of Java support in OS X in order to continue to support these systems, but I’m not sure how they intend to handle that.

A Java-less Mac OS also hurts sales of Mac hardware – not enough to seriously hurt Apple, but enough to make me wonder how much financial sense it makes for them to discontinue their support for Java. Apple typically utilizes small, effective teams, and I don’t think the team that supports Java at Apple is more than a handful of people, which means it can’t cost them more than a few million dollars to maintain Java. Judging by the number of MacBook Pros at JavaOne alone, this seems like a pretty effective investment – unless Apple thinks someone else will maintain Java enough to keep Java developers interested.

Does Java need Apple?

Probably, to some degree. Apple is doing a great job marketing the Mac OS platform and I think it is reasonable to assume it will continue to grow. If Oracle is concerned about getting traction in the consumer market with Java, then making sure there is a good JVM for Mac OS is going to be really important. On the developer side of things, I think it is also important for there to be good Java support on the Mac. There is already quite a bit of uncertainty and negativity around Java right now – JCP shenanigans going on right now, Oracle’s lawsuit against Google, and concerns about the pace of new features and releases. Losing support for a major platform like Mac OS would be another blow to a community that is already a bit unsettled right now.

Oracle hasn’t really shown much interest in the Mac platform and it will be interesting to see if they are willing to devote resources to keeping Java alive on it.

Where do we go from here?

I don’t think Apple is doing anything particularly nefarious here, even though the result appears to be somewhat unfortunate in the short-term. I think there opportunities for Oracle and other big members of the Java community to step up and fill the void that Apple is leaving. Perhaps in the long-run, this ends up being good news for Java on Mac OS? Apple generally did a decent job of providing Java on Mac OS, except that it was always well behind other platforms and Apple is notoriously bad about communicating their plans for Java – perhaps someone else would do a better job?

More updates about the Oracle vs Google lawsuit

The text of Oracle’s complaint is available online, here (courtesy of Rick Ross of JavaLobby and dzone). It appears as though the complaint centers around 7 patents and a claim of copyright infringement.


There are 7 patent claims, all of which seem to center around virtual machine related concepts:

6,125,447 – Protection domains to provide security in a computer system
6,192,476 – Controlling access to a resource
5,966,702 – Method and apparatus for pre-processing and packaging class files
7,426,720 – System and method for dynamic preloading of classes through memory space cloning of a master runtime system process
RE38,104 – Method and apparatus for resolving data references in generated code
6,910,205 – Interpreting functions utilizing a hybrid of virtual and native machine
6,061,520 – Method and system for performing static initialization


The complaint also references the copyrights around code, documentation, and other artifacts surrounding the Java platform, and claims Google infringes on some of these as well. It isn’t immediately clear what they are referring to, however.

What this means

It is pretty clear that this complaint is centered around the Dalvik VM. Lots of people (including me) have already been speculating about whether or not GWT could also find itself a target of Oracle lawsuits. It is probably safe from the patents listed above, but there is still a potential of it having the same copyright violations as Android – or perhaps Oracle has more patents up its sleeve.

Further, people have been suggesting that Google change Android to use one of the alternate JVM languages (such as Scala or Clojure) instead of Java, but it is unlikely that would make a difference, since the complaint centers around the VM.

The reaction from the Java community has been swift and negative towards Oracle. Google is doing some cool and innovative stuff with Java, why is Oracle going after them like this? Google has been hugely involved with Java, will this lawsuit push them towards another language/platform?

Oracle sues Google over Android

I recall a few years back when rumors were swirling about potential buyers of Sun Microsystems. There seemed to be a consensus within the Java community that it would be better for the future of Java for Sun to be acquired by Oracle rather than IBM. Oracle had been a good participant in the JCP and didn’t have as much direct reliance on Java for their business, and thus would have less incentive to muck around with Java.

Today, however, I think much of that goodwill evaporated. According to MSNBC, Oracle is suing Google, claiming that Android violates numerous Java-related patents. I think this doesn’t bode well for the long-term outlook for Java.


Android is one of the most exciting areas in Java development today – it is standing toe-to-toe with Apple’s iOS in the hottest technology space (mobile). JavaME has been reasonably successful – more so than people often give it credit for – but it can’t compete with iOS or any of the other smartphone platforms. Without Android, Java has limited representation in the mobile market.

Frankly, I’m confused as to why Oracle is going after Google here – a consumer phone OS seems pretty far out the realm of Oracle’s normal business.


I hadn’t even thought of this until one of my co-workers pointed it out – GWT has some of the same legal issues in this case as Android and could fall into Oracle’s crosshairs as well. Oracle has been incredibly excited about JavaFX and GWT is a direct competitor in that area. Will Oracle go after GWT next?

What else?

Java is an excellent language, but it has been showing its age for some time now. Many other languages offer more advanced features and are arguably better in some areas (C# comes to mind), but the main strengths that have kept Java relevant for so long have been the JVM and the community around the platform. If Oracle goes around suing everyone in the Java community with their new IP assets, what does that mean for the community?

Ultimately, we’ll have to see how this develops and what happens – perhaps they will settle quickly, with Google paying some licensing fees and Oracle leaving everyone else alone. Or, perhaps this is just the beginning of Oracle milking every dollar they can out of the Java platform.

With this development, plus all of the high-profile departures of ex-Sun employees, I’m a little worried about the long-term future of the Java platform under the stewardship of Oracle.