TOKYO - The Japanese government will oblige senior officials to take courses aimed at preventing sexual harassment following a series of revelations of improper behavior involving high-ranking bureaucrats, a government source said Wednesday.