That's also wrong! Java is a fully fledged programming language that can be used from everything for internet games (though most of those are flash, not Java) right the way to full scale enterprise solutions.
If you want Java, I'd recommend getting a good book such as "Objects first with Java", and follow that through. It'll teach you about Java and the basics of OO from the ground up which is what you need if you're starting out.
If you want to pick a widely used, popular language that will definitely serve you well in future - go for Java.