My advice is that you should first learn C and then progress to C++ and then Jave.
You should be aware of the concepts of Object Oriented Programming in C++ to easily learn Java. However, there are many people who learn Java as the first language. You should be aware of the concepts of structured programming, modular programming and procedural programming in C. Then learn the Object Oriented programming concepts in C++ and then progress to Java that is used wide for Internet programming.

I hope that would help you in deciding. And best of luck in your education.