Added C++ and Java support for libraries and executables