A federal jury in New York has ruled that Sun violated several patents held by Eastman Kodak when it developed its Java technology.

The decision made in the US District Court for the Western District of New York could prove costly for Sun when the jury determines damages this week. Kodak is asking for $1.06 billion in royalties, according to a local press report.

Kodak initially sued Sun in 2002, claiming that during Sun's development of its Java programming language the company had violated three patents issued in the mid-1990s. Sun originally dismissed the claims as without merit.