SAN FRANCISCO -- Oracle CEO Larry Ellison defended his company's patent and copyright infringement suit against Google on the second day of the trial here this morning.
Although Google CEO Larry Page was technically called as the first witness by Oracle's legal team, Ellison was the first to take the stand at the U.S. District Court in San Francisco as Page's testimony was presented via video from his deposition last August.
Ellison, wearing a dark suit and red tie, was asked in direct exam by Oracle's star lawyer David Boies about writing Java programs and APIs (Oracle claims that Google violated the copyright of 37 Java APIs). When writing a program in Java, Ellison explained that developers do two different things: they use the Java programming language, and then they reuse the library of pre-written Java programs.
When asked whether or not it is expensive to develop APIs, Ellison sighed and responded, "Arguably, it's one of the most difficult things we do at Oracle.
Ellison testified that if "people could copy our software and create cheap knockoffs of our products, we wouldn't get paid for our engineering and wouldn't be able to invest what we invest." Google maintains that Android's 15 million lines of code only contain parts of Java that were freely available in the public domain.
Ellison said that there are three kinds of licenses: GPL open-source, specification, and commercial.
Some examples of companies using commercial licenses include RIM for BlackBerry and Amazon for the Kindle.
Describing Java specification licenses, in particular, Ellison explained that this license lets developers look at the Java documentation -- not the source code. Then using those design specifications, developers can build their own version of Java, using the design and specs.
Examples of these companies that fall within the Java community (but are also competitors of Oracle) include IBM, SAP and Hewlett-Packard.
Once a company has built their own version of Java, they must run a compatibility test (or TCK) to make sure that it is compatible with the standard Java framework. If the company passes, the license is free, but the company has to pay for the compatibility test.
When asked by Oracle attorney David Boies if there are any companies that are using Java but without any of these licenses, Ellison replied, "The only company I know of that hasn't taken any of these licenses is Google."
When asked by Google's defense attorney Bob Van Nest if the Java language is free, Ellison hesitated. Judge William Alsup pushed Ellison to give a yes or no answer, and Ellison resisted and huffed, "I don't know."
Van Nest reiterated that Google is not promoting its smartphone platform under the name Java, but rather a different name: Android.
Recalling a speech that Ellison made in June 2009 at JavaOne with then Sun Microsystems chairman Scott McNealy (as seen in the video below), Van Nest questioned Ellison if he remembered his remarks, to which Ellison replied he did.
During the event, Ellison had said that he expected to see more Java devices coming from "our friends at Google." Van Nest highlighted the part where Ellison praised Sun, saying that it had done "a fantastic job" in opening up Java and giving it to the world.
Van Nest then asked Ellison if a "primary factor" behind buying Sun was to get into the smartphone business. On the stand, Ellison replied no.
When Van Nest brought up a video clip from Ellison's deposition in August 2011, Ellison was asked if Oracle wanted to use Java to expand into the smartphone business as well as to compete with Apple.
At the deposition, Ellison replied yes on both accounts.
On the stand, Ellison defended his remarks by pointing out that Van Nest said a "primary factor." Ellison asserted that it was only a simple "factor," as it was "an idea worth exploring," but not one of the "primary" motivations for buying Sun.
Ellison had trouble remember his past statements again later during his testimony. After being asked about internal plans regarding expanding into the smartphone market through potential acquisitions (Palm wasn't considered competitive enough and RIM was rebuffed for being "too expensive"), Ellison was questioned about a meeting with Google's Eric Schmidt about Java and Android.
On the stand, Ellison first said that this was "not a joint project," but rather Google could take Oracle's version of Java and put it into Android.
When Van Nest brought up Ellison's deposition from August 2011 again, Ellison affirmed that it was a joint project. Google's lawyers described the meeting to discuss Google engineers working with Oracle engineers to improve and put out a better product. Ellison replied at the time, "Correct."
When on the stand, Ellison relented and said, "I called it a joint project. OK."
Obviously, those talks fell through. The next interaction after that was the lawsuit being fought at trial now.
Last updated at 11:30 a.m. PT with more details.