C++ and java prokects