Java programming instead of c++

So I know the java programming language very well, and I don’t like c++, so is there a way to change the language from c++ to java. c# would be fine as well.