Oracle has sued Google for patent and copyright infringement with its Android operating system. The lawsuit, filed in US federal court in San Francisco, accuses Google of breaching seven patents that Oracle assumed when it acquired Sun Microsystems earlier this year, the Financial Times reports. The patents relate to the Java software, which Sun developed so that developers could write applications that can run on many different operating systems. Eric Schmidt, Google’s CEO and a former CTO at Sun, once headed the Java development team. In a statement, Oracle said that Google had “knowingly, directly and repeatedly infringed Oracle’s Java-related intellectual property.” Parts of the Java technology were included in the stack of software that makes up Android, according to Oracle. The lawsuit marks Oracle’s first attempt to exert its rights over Java since it acquired Sun in January.