The Paris Saint-Germain striker opened the scoring in Sapporo before the new Hull City signing sealed victory for the visitors
Javier Aguirre's maiden game as Japan coach ended in defeat as Edinson Cavani helped Uruguay to a 2-0 win.
The former Mexico boss was chosen to replace Alberto Zaccheroni in July, the Italian paying the price for a World Cup campaign that yielded just one point from their three group games. However, Aguirre's reign began in defeat in Sapporo on Friday as Japan's opponents clinically claimed victory.
Uruguay coach Oscar Tabarez was missing from the sidelines after undergoing back surgery last month, but there was no let up from the South Americans, who moved ahead 11 minutes before the break when Cavani was the beneficiary of a defensive gaffe.
Hernandez - who joined Hull City from Palermo for a club-record fee last week - was one of several substitutes introduced in the second half and made his mark by making sure of the win with just under 20 minutes remaining.
Neither side was able to find a breakthrough in a tight opening and it took a defensive lapse from Hajime Hosogai for the deadlock to be broken. The midfielder's poor touch deep in his own area was picked up by debutant Diego Rolan and his throughball was collected by Cavani, whose shot deflected over Japan goalkeeper Eiji Kawashima before nestling in the bottom left-hand corner.
Despite the setback, Japan enjoyed a spell of pressure towards the end of the half and Yusuke Minagawa saw a goalbound header well blocked while Junya Tanaka's shot stung the palms of Uruguay 'keeper Fernando Muslera in the first chance of note after the break.