I went to Japan by myself last year. It does feel a bit strange because you feel as if you're the only white person there, but apart from that, the people there are friendly, and no-one will hurt you. It is unlikely that you would ever be involved in any crime. All you need to do is stay calm, and if anyone looks you in the eye, just smile back.