— Java is not the best choice in these days. You can earn money with it, but you're robably going to support some old codebases. And also there are lots of languages besides C++ and Java.
If you want to Google, they're searching for C++ developers as I know. But you will need to learn a lot first (mostly things not bound to a specific language: alghoritms, multithreading, optimization, etc.)