Google has asked Oracle to pay the $4m legal costs it accrued as part of the Java dispute between the two.
In a court filing, originally posted by Wired, the search giant asked that Oracle pay costs including printing and copy fees, compensation for expert appointments and filing fees for both printed and electronic excerpts over the course of the case.
Much of the cost, some $2.9m, was attributed to what Google attorneys described as "exemplification and the costs of making copies of any materials where the copies are necessarily obtained for use in the case."
Another $987k was demanded for what Google paid a court-appointed expert, and a $143k bill was given for the cost of transcripts.
Oracle did not immediately respond to a request for comment.
While the $4m bill would not pose any significant financial damage to Oracle, the filing adds salt to Oracle's wounds following its failed attempt to win damages from Google for copyright and patent infringement.
Earlier this year, Google claimed victory in the case after a jury found the company not liable on most of the copyright infringement claims and denied all eight of Oracle's patent infringement charges.
Oracle's case was later dealt a fatal blow when the judge presiding over the case concluded that the APIs related to the copyright case could bot actually be copyrighted, overturning what partial legal victory Oracle had in fact won.
Oracle has already indicated that it intends to challenge the ruling.