According to the Japanese media, the aircraft left Naha Airport and headed to Tokyo Haneda Airport, but the crew had to disrupt the flight, as one of the plane's engines failed.
NHK added that the aircraft, which carried 178 passengers and 11 crew members, landed safely and no one was injured in the incident.
The Boeing 777 is a twin-engine passenger aircraft with a capacity of up to 368 passengers. The aircraft was designed by the US-based Boeing Company in 1993.