Some Japanese dislike foreigners just like some foreigners dislike Japanese. I found most to be very friendly though.
I would just caution foreigners about working for Japanese companies. They expect you to act like a Japanese worker even though you aren't.