C++ to Java would be more interesting.
But I heard there are C++ to C translators. I don't know how good they are and how the resulting code looks like. But if they're decent, you could do C++ -> C -> Java :)
So in that case, the C++ to C compiler was there before the first real C++ compiler which appeared some time later.