BEIJING, Sep 6 (Reuters) - German ambassador to China Jan Hecker has died, barely two weeks into the job, the European nation's foreign office said on Monday (Sep 6).

Hecker, 54, a foreign policy adviser to Chancellor Angela Merkel, had just taken up his post on Aug 24, the embassy in the Chinese capital said in a posting on its social media WeChat account.

The cause of death has yet to be confirmed.

"It is with deep sadness and dismay that we learned of the sudden death of the German ambassador to China," Germany's Federal Foreign Office said on its website.

An embassy spokesman declined further comment to Reuters.

Hecker had appeared "happy and all right" when he hosted an event about German artist Joseph Beuys at his Beijing home last Friday, a guest at the event said.