Following a three-week trial and a week of deliberations, a California jury found that Google did not infringe on Oracle patents for its Android operating system.
However, the search giant was found to have committed two minor copyright infringements related to a few lines of rangeCheck code and Java test files, for which damages will be determined beginning on the 29th of May.
The suit was brought by Oracle in 2010 and the computer technology company alleged that Google violated its intellectual property rights. Oracle will "continue to defend and uphold Java's core write once run anywhere principle", the company said in response to the verdict.
But Google maintains that its mobile operating system was "built from scratch" (although it started to develop its mobile strategy when it purchased Android Inc back in 2005).
The Java programming language around which much of the dispute was centred is open-source and therefore uncopyrightable, Google insists.
The jury's finding was "a victory not just for Google but the entire Android ecosystem", the company said in a statement.