At least one of the injured people is in critical condition, NHK said, adding there are no reports of civilian casualties.
An earlier NHK report said several Self Defence Force members may have died.
Shootings are extremely rare in Japan, where gun ownership is tightly regulated and anyone seeking to own a gun must go through a rigorous vetting process.
(Published 14 June 2023, 04:33 IST)