The first coffee that was consumed in Japan was done so at the end of the 18th century by Dutch folk who were resident at Nagasaki at the time but it wasn't until the end of the 19th century when coffee bagan to be imported in bulk.
The first coffee shop opened in Tokyo in 1888 and while coffee culture started to spread, import restrictions during and after World War II meant that the culture didn't really take off.