Here's how it's written in Japanese:
* 生姜 (shōga) - This is the most common way to write it.
* 生薑 (shōkyō) - This is another way to write it, but it's less common.
You can use either of these words to refer to ginger in Japanese, but "生姜 (shōga)" is the most commonly used and understood.