I recently needed to convert some C / C++ code to Java and I remembered a couple utilities which are supposed to do the conversion for you. These tools under the name C2J aren't especially useful in my case but they are difficult to find so I am making them available here. There are two versions:
I tried to contact the authors before posting this, but they have yet to respond. I take no responsiblity for these tools so use them at your own risk.