If you're trying to learn programming I think neither Java nor C++ is ideal for a first choice.
Ideally something like Pascal with strong types and clear syntax which makes sense in English (assuming English is your first language).
The problem is, the C syntax sucks.
I like and use both Java and C++ but I'm sure there are easier languages to learn.
Ultimately programming in Java is easier, as there is a lot more safety in the environment, the compiler is more fussy and the JVM does a lot of stuff for you, but there is more scope in C++ (embedded software, games etc) and C++ performs a bit better under most circumstances.