A judge at the United States District Court for the Northern District of California has scheduled a patent infringement trial between Oracle and Google for April 16.

The trial is set to take place in a San Francisco federal court.

Judge William Alsup said in his order that the trial will be conducted in three phases and should last about eight weeks.

Oracle filed a suit against Google in 2010, alleging the Android mobile operating technology infringes its Java patents.

Oracle also made copyright infringement claims against the search engine company.

Google denied the claims and following the US Patent and Trademark Office’s re-examination of Oracle’s patents, the latter had to withdraw a number of its patent claims.

Now only two patents remain in lawsuit, along with a number of Java copyright claims.

If successful, Oracle could win hundreds of millions of dollars in damages.

Oracle acquired the Java programming language after its purchase of Sun Microsystems in 2010.