Japan simply has to move production out of China.
No amount of Japanese military buildup will deter the Chinese.
Japan needs to tell the Chinese that we can and will bankrupt you unless you fully respect our national boundaries, which are as follows....
I know of one piece of military hardware that would freak out the Red Chinese. Can you say thermonuclear weapon? Sure you could....