Japan put in an improved performance to beat Uruguay at the Level 5 Stadium and end a four-match losing streak.
In their second Rugby World Cup warm-up game, the Brave Blossom bounced back from their insipid 45-20 defeat to a World XV to run in three tries to their visitors' one.
New Zealand-born No.8 Hendrik Tui was the star of the show as he crossed the whitewash twice, while Shota Horie added a third and Ayumu Goromaru added 15 points with the boot.
Uruguay struck back thanks to a well-worked Jeronimo Etcheverry try and three points from the boot of Felipe Berchesi.
"It was a tricky game," Japan coach Eddie Jones said.
"They defended well and the ball was slippery. But our set play was good, our line-out was excellent and our scrum got better as the game went on. We weren't that sharp in attack and were hanging back a bit but we have regained some confidence."
Japan have been drawn alongside South Africa, Scotland, Samoa and the U.S in Pool B this autumn. Uruguay, meanwhile, will face England, Australia, Wales and Fiji in Pool A.