Japan is our traditional enemy dating back to the Wa and Ming Dynasty. Learn history. As far as friendship, we never had any with Japan. At best relation, it is a tributary.
During the Sino-Soviet split, the tension arises due to ideological struggle. We are way past that ideological difference stage. I don't foresee us fighting Russia. We make a very important compromise and strategic step by solving our territorial dispute. With the US, we don't share the same mindset and governing principle is too difference.
You went at length to say the same thing, an enemy depend on one perception.