News for hackers. Stuff that matters.
Re:Oracle sues Google over use of Java in Android by wmf on Thursday August 12, 2010 @09:13PM (#1599709)
It's important to understand that Android doesn't use Oracle's open-source OpenJDK. An argument could be made that Oracle licenses the necessary patents only for OpenJDK and not for alternate implementations such as Dalvik. An argument could be made that Oracle licenses patents only for JVMs that are TCK-compliant, which Dalvik isn't. An argument could be made that Oracle licenses patents for GPLed JVMs but not for ASL-licensed JVMs (because ASL is "too free" perhaps?)
Re:Oracle sues Google over use of Java in Android by icey on Thursday August 12, 2010 @11:31PM (#1599983)
Thank you for this explanation. Until reading it this way my understanding of the whole affair was somewhat wrong.

Given that Oracle doesn't seem shy about going after a giant like Google makes me wonder what other software Sun owned the rights to that might be even remotely popular. If I were a company using a lot of old Sun IP in even moderately unique ways, I'd be a little concerned right now.

Re:Oracle sues Google over use of Java in Android by nostrademons on Thursday August 12, 2010 @11:46PM (#1600009)
MySQL? BerkeleyDB?
Re:Oracle sues Google over use of Java in Android by seldo on Friday August 13, 2010 @01:19AM (#1600131)
Well, Sun own MySQL. But the drop-in replacement MySQL engine makers (infobright, percona, etc) might be a little worried.
Re:Oracle sues Google over use of Java in Android by JoachimSchipper on Friday August 13, 2010 @03:00AM (#1600266)
The comment you're replying to pointed out that Oracle owns MySQL (acquired with Sun) and BerkeleyDB (acquired with SleepyCat).
Re:Oracle sues Google over use of Java in Android by seldo on Friday August 13, 2010 @01:25PM (#1601528)
I had forgotten they also owned BerkeleyDB (obviously I know that Oracle own Sun, is that why I'm getting downmodded?).

But my point still stands: makers of replacement engines for MySQL could be in violation of MySQL-related patents, which Oracle could then sue over.

Re:Oracle sues Google over use of Java in Android by bravo_sierra on Friday August 13, 2010 @06:15PM (#1602451)
They could, but they haven't, and probably won't. Oracle had a big database-related portfolio long before they acquired Sun/MySQL, which had relatively few. They even bought Innobase, makers of the InnoDB engine a few years ago.

Other database vendors (Percona et al., not IBM) don't have assets for Oracle to take, don't directly threaten their core business, and going after them would get Oracle in trouble with regulators.

Better to land a tuna than chase sardines around.

Re:Oracle sues Google over use of Java in Android by seldo on Thursday August 12, 2010 @10:17PM (#1599842)
Thanks, it naively hadn't occurred to me that Android would be using a non-Sun JVM, and given what you've said it seems that would be a viable route for an IP lawsuit (though it still seems in pretty bad faith).
Re:Oracle sues Google over use of Java in Android by WildUtah on Thursday August 12, 2010 @10:57PM (#1599926)
Dalvik would be better if Google had just licensed Oracle's Sun JVM or used the open source version. As an occasional Android developer I am constantly banging against the limitations and performance of Dalvik.

It doesn't do memory management nearly as well as the JVM, and it handles dynamic dispatch and one-off closure hacks (local classes) slowly. It won't easily accept generated bytecodes. It has mysterious performance headaches (mostly memory management related I think).

I'd prefer that Oracle go to heck with these bogus patents for the health of the industry but Google should have just cooperated from the start.

Re:Oracle sues Google over use of Java in Android by nostrademons on Thursday August 12, 2010 @11:49PM (#1600013)
On the flip side, how do you know you wouldn't run up against those limitations on a phone that used OpenJDK? I don't do much mobile dev, but I've had friends that did JavaME development, and they didn't seem to like it any more than Android. Dalvik was designed specifically because Sun's JVM performed poorly on memory-constrained devices.

In other words, your issues may be caused by mobile development, not by Android development.

Re:Oracle sues Google over use of Java in Android by gchpaco on Friday August 13, 2010 @01:39AM (#1600163)
The Sun JVM is a lot of things and got a lot better and a lot faster over time, but it is an astounding memory hog. Only thing I've ever seen that will (seriously) reserve 64 bits for a Boolean field on a 64-bit VM.
Re:Oracle sues Google over use of Java in Android by seldo on Friday August 13, 2010 @01:22AM (#1600142)
Given that Eric Schmidt is the former head of Java at Sun, it seems unlikely they'd have written their own JVM if they didn't have a good reason to do so. Also, JavaME is awful.
Re:Oracle sues Google over use of Java in Android by vessenes on Friday August 13, 2010 @09:47AM (#1600867)
There wasn't any cooperation available, unless Google wanted to pay megabucks for Java ME, and force their developer chain to do the same: Java ME was never open sourced.

Essentially, Sun said "We will give away Java, Open Source, as we planned to do. Oh, not mobile, because Nokia uses it and it makes us lots of money. Of course, we all understand reimplementing Java ME would be far too much work for any one company to do. Feel free to license."

Google said "Eh, we'll just write our own JVM that runs on phones, thanks. That's how we roll over here."

Now there are lawsuits, because Sun tried hard to make sure you had to pay if you wanted Java on mobile devices.

Re:Oracle sues Google over use of Java in Android by nl on Friday August 13, 2010 @01:59AM (#1600192)
Dalvik is a register based VM, as opposed the the stack based JVM.

Also Sun removed the classpath exception when they put JavaME under the GPL. That means if you used the GPL'ed version of Java on a mobile device then it becomes viral - including to any application code. (That's why most GPL'ed Java programs use the classpath exception).

From Sun's point of view, this was a good idea because it allowed them to protect JavaME licence revenue. Google saw JavaME as outdated, though, so instead of licencing it they took the Apache licensed Harmony project (ie, a clean room, Apache licensed version of the Java class libraries) and build Android around it.

Re:Oracle sues Google over use of Java in Android by bad_user on Friday August 13, 2010 @03:38AM (#1600326)
You haven't worked with Java ME then ;)

Dalvik limitations are very justified, and even if phones improve over time, Dalvik also evolves.

Also when going head to head with Apple and Microsoft on such a far-reaching platform, having full control over your platform is valuable.

Re:Oracle sues Google over use of Java in Android by krosaen on Friday August 13, 2010 @05:11AM (#1600455)
another technical reason for going with a new VM: every process (e.g every app) runs its own VM for security purposes. dalvik claims to have a much lower memory footprint.

http://www.youtube.com/watch?v=G-36noTCaiA

Re:Oracle sues Google over use of Java in Android by spinchange on Friday August 13, 2010 @10:08AM (#1600919)
I know "great comment" comments are silly, especially in a vote-based comment system, but seriously, great comment. Very instructive.
Re:Oracle sues Google over use of Java in Android by Tichy on Friday August 13, 2010 @08:00AM (#1600687)
What if I take the open source OracleJVM and change every line, so that it become Dalvik? Wouldn't it still be derived from OracleJVM and hence covered? The approach would only be possible because Dalvik is open source, too, of course.
Re:Oracle sues Google over use of Java in Android by protomyth on Friday August 13, 2010 @10:37AM (#1601006)
Your implementing a different instruction set.