CrazyProg wrote
I do not know Java or C++ (I do know C though), how about approching this from a different point. Instead of writing C++ like Java, how about writing a Java to C++ preprocessor.
The work you need to do amounts to creating the entire Java-environment, minus the bytecode interpreter and JIC-system. In other words, if you can do that, you can add those little things too. Computer languages are no longer just a set of keywords you compile into native assembly language; they are a complete set of libraries, runtime systems, extensions, and lots more.