Notwithstanding with what most answers say, you're at least partially right.
Maybe this suit was not the primary reason for buying Sun, but it was in the deal. That has been confirmed by at least one source. Miguel de Icaza made the same guess , and it was later confirmed by James Gosling, one of Java's creator , who said clearly that he couldn't explain, back then, why he left Sun; and it was for exactly this reason .
 http://tirania.org/blog/archive/2010/Aug-13.html - it quotes the following Gosling's blog posts.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds