England - their empire was fighting both Germany and Japan (but dividing this into clear eastern and western "fronts" is difficult as it was global) throughout the war.
Germany - following the invasion of the USSR (operation Barbarossa) in 1941 they were fighting the USSR on the east and England on the west.
United States - was fighting Germany on the east and Japan on the west.
Japan - from August 9, 1945 until September 2, 1945 they were fighting the United States on the east and the USSR on the west/north.