Hi,
C++ and Java have so different underlying concepts that it's not possible directly.
You may try to
translate the C++ code to Java, which is sometimes near to impossible. You will find some free or paid translator programs if googling for them.
My personal experience is that they are almost useless.
For handwritten translation have a look at
Quick conversion and reference to the most
common commands used in C/C++ and Java
[
^].
Eventually the quickest and best way is to write in Java from scratch, using the C++ code base as reference.
cheers,
AR