Earlier quoted context omitted.
Minecraft is written in Java, it doesn't look like the choice of platform kept it from becoming a success.
It was however completely rewritten in C++ when they needed to port it to more constrained platforms, every mobile and console version uses the C++ codebase while PC has both versions in parallel. If you ever intend to release your game on multiple platforms then Minecraft isn't an example to follow unless you're up for starting over from scratch at some point.
Notch surely isn't sorry for having coded it in Java.