Japan has confirmed a second case of infection by the new coronavirus from China, the health ministry said on Friday.