The documents also show that Google raced to get Android to market, because it feared Microsoft dominating the market for mobile phone software, and that Google considered selling a mobile phone service to users.
The documents, which include emails and presentations from Google executives, cast new light on Google's negotiations with Sun in the early days of its Android development. They were filed by Oracle last month as exhibits in the case and unsealed on Tuesday.
In a Larry Page and Sergey Brin, Andy Rubin, head of mobile at Google, wrote that he was close to convincing Sun to open source Java.
"Initially this was a foreign concept to them and took some educating. Now we're at a point where they have conceptually agreed to open java and additionally they desire to broaden the relationship and become a customer of the Android system and Google," Rubin wrote. "Sun is prepared to walk away from a $100M annual J2ME licensing business into an open source business model that we together crafted. This is a huge step for Sun, and very important for Android and Google."
Rubin is apparently referring to money that Sun made from licensing Java to third parties. Oracle acquired the rights to Java when it bought Sun and is now suing Google, alleging infringement of its Java patents and copyrights in Android.