Are there many projects where people would be choosing between Java and C++ anymore? They have found their niches and there doesn't seem to be much overlap to me.
They are quite together if you're building a platform. You usually have C++ doing all the CPU intensive work/low level IO which is exposed through JNI for any higher level stuff (like web).