RedManPlus is right. C++ is complicated with the manual memory allocation/deallocation while Java has a garbage collection, a form of automatic memory management. Among the professionals some still struggle with this concept. That's the reason why Java still having success. Despite this obstacle, C++ is far superior than Java especially for real-time system. I think IB's API supports only Java under UNIX/Linux system.
Quote from RedManPlus:
C++ is strictly for professionals...
That need to write highly optimized code... not for you.